summaryrefslogtreecommitdiff
path: root/data/update-extensions.sh
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-04-08 01:37:46 -0400
committerAmin Bandali <bandali@gnu.org>2020-04-08 01:37:46 -0400
commitcc20957d47ce94ffb951a2b5bda9038cf5cb5d5e (patch)
treeea5f269034d1cd68d2b9d033e0b880081016a0e6 /data/update-extensions.sh
parent3cb3e92e55c4f22aaa7e520fea1a1d8fdbef72b4 (diff)
Disable automatic new tab in new version of tortm-browser-button
* data/update-extensions.sh: The logic for automatic new tab opening was moved from lib/common.js to lib/chrome/chrome.js in the new version of the tortm-browser-button extension just committed to the repository. Adapt our workaround for disabling this behaviour accordingly. * data/extensions/tortm-browser-button@jeremybenthum/lib/chrome/chrome.js: Don't automatically open new tab to extension homepage after install or update.
Diffstat (limited to 'data/update-extensions.sh')
-rw-r--r--data/update-extensions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/update-extensions.sh b/data/update-extensions.sh
index 1e9717e..cb0257e 100644
--- a/data/update-extensions.sh
+++ b/data/update-extensions.sh
@@ -27,7 +27,7 @@ for extension in librejs https-everywhere librejs-usps-compatibility submit-me l
done
-sed '/type=install/s=^=//=' -i extensions/tortm-browser-button@jeremybenthum/lib/common.js
+sed '/app\.tab\.open.*parameter.*/s=^=//=' -i extensions/tortm-browser-button@jeremybenthum/lib/chrome/chrome.js
sed '/autoUpdateRulesets/s/true/false/' -i extensions/https-everywhere@eff.org/pages/options/ux.js extensions/https-everywhere@eff.org/background-scripts/update.js
for ID in viewtube@extension disable-polymer-youtube@extension tortm-browser-button@jeremybenthum; do