commit
06a0e12ecd
3 changed files with 16 additions and 2 deletions
13
.jpmignore
Normal file
13
.jpmignore
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.git/
|
||||||
|
docs/
|
||||||
|
test/
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
.env
|
||||||
|
.eslintrc.js
|
||||||
|
.gitignore
|
||||||
|
.htmllintrc
|
||||||
|
.jpmignore
|
||||||
|
.stylelintrc
|
||||||
|
.travis.yml
|
||||||
|
testpilot-containers.xpi
|
|
@ -33,6 +33,7 @@
|
||||||
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "jpm xpi",
|
||||||
"lint": "npm-run-all lint:*",
|
"lint": "npm-run-all lint:*",
|
||||||
"lint:addon": "addons-linter webextension --self-hosted",
|
"lint:addon": "addons-linter webextension --self-hosted",
|
||||||
"lint:css": "stylelint webextension/css/*.css",
|
"lint:css": "stylelint webextension/css/*.css",
|
||||||
|
|
|
@ -13,6 +13,6 @@ browser.tabs.query({}).then(tabs => {
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
|
|
||||||
function disableAddon(tabId) {
|
function disableAddon(tabId) {
|
||||||
browser.browserAction.disable(tabId);
|
browser.browserAction.disable(tabId);
|
||||||
browser.browserAction.setTitle({ tabId, title: "Containers disabled in Private Browsing Mode" });
|
browser.browserAction.setTitle({ tabId, title: "Containers disabled in Private Browsing Mode" });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue