|
|
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).infobar={})}(this,(function(e){"use strict";const t=globalThis.browser;e.includeScript=async function(e){if(t&&t.runtime&&t.runtime.getURL){const i=await(await fetch(t.runtime.getURL("/lib/single-file-infobar.js"))).text();e.content+="<script>document.currentScript.remove();"+i+"<\/script>"}},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
|
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).infobar={})}(this,(function(e){"use strict";const t=globalThis.browser;e.getScript=async function(){if(t&&t.runtime&&t.runtime.getURL){return"<script>document.currentScript.remove();"+await(await fetch(t.runtime.getURL("/lib/single-file-infobar.js"))).text()+"<\/script>"}},Object.defineProperty(e,"__esModule",{value:!0})}));
|