UNPKG

webext-alert

Version:

alert() for background pages/workers in Web Extensions

11 lines (10 loc) 409 B
declare function popupAlert(message: string): Promise<void>; declare const webextAlert: typeof alert | typeof popupAlert; export default webextAlert; /** * Change the HTML page to be used in certain scenarios (Firefox). * This can be used to add offline support for Firefox. * * @param url If not provided, the default URL will be used */ export declare function localWebExtAlertHtml(url?: string): void;