admin管理员组

文章数量:1345903

I haven't installed any plugin so far in my Firefox and neither used any extra JS script till yet but I don't from where this content_script.js has been enabled and printing unnecessary messages in console like this :

 content script runtime.onMessage: update_shortcuts
content_script.js (line 91)
<System>

2 content script runtime.onMessage: tabupdate
content_script.js (line 91)
<System>

When i tried to look at the path of this script, it shows its a part of firefox any plugin :

resource://gre/modules/ExtensionContent.jsm -> moz-extension://22d1d103-e4d1-431c-bc5e-e2fe1cd8d902/javascripts/content_script.js

What is this script doing and how can I disable it?

I am using these extensions in FireFox:

I haven't installed any plugin so far in my Firefox and neither used any extra JS script till yet but I don't from where this content_script.js has been enabled and printing unnecessary messages in console like this :

 content script runtime.onMessage: update_shortcuts
content_script.js (line 91)
<System>

2 content script runtime.onMessage: tabupdate
content_script.js (line 91)
<System>

When i tried to look at the path of this script, it shows its a part of firefox any plugin :

resource://gre/modules/ExtensionContent.jsm -> moz-extension://22d1d103-e4d1-431c-bc5e-e2fe1cd8d902/javascripts/content_script.js

What is this script doing and how can I disable it?

I am using these extensions in FireFox:

Share Improve this question edited Nov 5, 2022 at 21:13 halfer 20.4k19 gold badges109 silver badges202 bronze badges asked Aug 10, 2016 at 4:09 RiteshRitesh 4,8067 gold badges32 silver badges43 bronze badges 1
  • Probably an extension of some kind. Have you tried going to that moz-extension URL in Firefox, and seeing what the code is? If may offer some hints. – Alexander O'Mara Commented Aug 10, 2016 at 4:19
Add a ment  | 

3 Answers 3

Reset to default 12

The console messages are being caused by the Awesome Screenshot addon. Disable it and they'll stop.

If you're on Windows I remend ShareX as a very good open-source alternative to Awesome Screenshot.

Most likely it's an issue of any firefox addons that you are using. Try using firefox without loading any addons and see if this issue persists.

DO this to load without addons

Launch Mozilla Firefox, click the "Firefox" button, click the small arrowhead next to "Help" and click "Restart with Add-Ons Disabled" in the submenu. Click the "Restart" button to confirm the action and restart Mozilla Firefox. Click the "Start in Safe Mode" button to start Mozilla Firefox without the add-ons.

Note: These instructions are used to turn off JavaScript pletely. However, the question was about turning off only one script, not everything. Though I am sharing with you.

Here are the steps:

Step 1 Open Firefox In the address bar, type about:config then press Enter on your keyboard Please note, if your version of Firefox was pre-installed on your machine or device, altering settings in this was may void your warranty

Step 2 Click on the I’ll be careful, I promise! button to continue

Step 3 In the search bar, type javascript.enabled to find the preference option of the same name

Step 4 Right-click on the javascript. enabled option, then click on the Toggle menu item The Value column should now read as false, meaning JavaScript is disabled. A Value of true means JavaScript is enabled

Step 5 Restart Firefox then visit whatismyipaddress.ricmedia. to confirm JavaScript status

本文标签: javascriptHow to disable contentscriptjs in FirefoxStack Overflow