aboutsummaryrefslogtreecommitdiff
path: root/content/freezer.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/freezer.js')
-rw-r--r--content/freezer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/freezer.js b/content/freezer.js
index 8e543a6..9dbc95e 100644
--- a/content/freezer.js
+++ b/content/freezer.js
@@ -49,7 +49,7 @@ function mozilla_suppress_scripts(e) {
console.log('Script suppressor has detached.');
return;
}
- else if (e.isTrusted) { // Prevent blocking of injected scripts
+ if (e.isTrusted && !e.target._hachette_payload) {
e.preventDefault();
console.log('Suppressed script', e.target);
}