BrowserUtils: {
PromoType: {
COOKIE_BANNERS: number;
DEFAULT: number;
FOCUS: number;
PIN: number;
RELAY: number;
VPN: number;
};
canFindInPage(location: any): any;
formatURIForDisplay(uri: any, options: any): any;
formatURIStringForDisplay(uriString: any, options: any): any;
getRootEvent(aEvent: any): any;
getShareableURL(url: any): any;
hrefAndLinkNodeForClickEvent(event: any): any;
isFindbarVisible(docShell: any): any;
mimeTypeIsTextBased(mimeType: any): any;
principalWithMatchingOA(principal: any, existingPrincipal: any): any;
promiseObserved(topic: any, test: any): any;
sendToDeviceEmailsSupported(): any;
shouldShowPromo(promoType: any): any;
shouldShowVPNPromo(): any;
whereToOpenLink(e: any, ignoreButton: any, ignoreAlt: any): any;
}
Type declaration
-
PromoType: {
COOKIE_BANNERS: number;
DEFAULT: number;
FOCUS: number;
PIN: number;
RELAY: number;
VPN: number;
}
-
COOKIE_BANNERS: number
-
DEFAULT: number
-
FOCUS: number
-
PIN: number
-
RELAY: number
-
VPN: number
-
canFindInPage:function
- canFindInPage(location: any): any
-
Returns any
-
formatURIForDisplay:function
- formatURIForDisplay(uri: any, options: any): any
-
Returns any
-
formatURIStringForDisplay:function
- formatURIStringForDisplay(uriString: any, options: any): any
-
Parameters
-
uriString: any
-
options: any
Returns any
-
getRootEvent:function
- getRootEvent(aEvent: any): any
-
Returns any
-
getShareableURL:function
- getShareableURL(url: any): any
-
Returns any
-
hrefAndLinkNodeForClickEvent:function
- hrefAndLinkNodeForClickEvent(event: any): any
-
Returns any
-
isFindbarVisible:function
- isFindbarVisible(docShell: any): any
-
Returns any
-
mimeTypeIsTextBased:function
- mimeTypeIsTextBased(mimeType: any): any
-
Returns any
-
principalWithMatchingOA:function
- principalWithMatchingOA(principal: any, existingPrincipal: any): any
-
Parameters
-
principal: any
-
existingPrincipal: any
Returns any
-
promiseObserved:function
- promiseObserved(topic: any, test: any): any
-
Returns any
-
sendToDeviceEmailsSupported:function
- sendToDeviceEmailsSupported(): any
-
Returns any
-
shouldShowPromo:function
- shouldShowPromo(promoType: any): any
-
Returns any
-
shouldShowVPNPromo:function
- shouldShowVPNPromo(): any
-
Returns any
-
whereToOpenLink:function
- whereToOpenLink(e: any, ignoreButton: any, ignoreAlt: any): any
-
Parameters
-
e: any
-
ignoreButton: any
-
ignoreAlt: any
Returns any