diff options
Diffstat (limited to 'content/main.js')
-rw-r--r-- | content/main.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content/main.js b/content/main.js index 5d88a6d..9acf749 100644 --- a/content/main.js +++ b/content/main.js @@ -14,7 +14,7 @@ * IMPORT csp_rule * IMPORT is_privileged_url * IMPORT sanitize_attributes - * IMPORT script_suppressor + * IMPORT mozilla_suppress_scripts * IMPORT is_chrome * IMPORT is_mozilla * IMPORT start_activity_info_server @@ -35,8 +35,6 @@ let url = url_item(document.URL); let unique = gen_unique(url); -const suppressor = script_suppressor(unique); - function is_http() { @@ -144,6 +142,6 @@ if (!is_privileged_url(document.URL)) { } if (is_mozilla) - addEventListener('beforescriptexecute', suppressor, true); + addEventListener('beforescriptexecute', mozilla_suppress_scripts, true); } } |