We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0731e48 commit b178613Copy full SHA for b178613
1 file changed
src/ui/siteInfo.js
@@ -1,10 +1,13 @@
1
(async () => {
2
let [domain, tabId] = decodeURIComponent(location.hash.replace("#", "")).split(";");
3
const BASE = "https://noscript.net";
4
- await include(['/nscl/lib/punycode.js', '/common/Storage.js']);
+ await include([
5
+ '/nscl/lib/punycode.js',
6
+ '/nscl/common/Storage.js'
7
+ ]);
8
let {siteInfoConsent} = await Storage.get("sync", "siteInfoConsent");
9
if (!siteInfoConsent) {
- await include('/common/locale.js');
10
+ await include('/nscl/common/locale.js');
11
siteInfoConsent = confirm(_("siteInfo_confirm", [domain, BASE]));
12
if (siteInfoConsent) {
13
await Storage.set("sync", {siteInfoConsent});
0 commit comments