Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable content_script.js 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 :

enter image description here

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

Can anyone please tell me what the hell is this script doing and HOW CAN I DISABLE THIS..??

I am using these extensions in FireFox : enter image description here

Any help will be appreciated..!!

like image 821
Ritesh Avatar asked Aug 10 '16 04:08

Ritesh


People also ask

How do I run a script in Firefox?

Open a new tab in Firefox and in the URL bar, and enter about:blank to display a blank tab so that you can see what you are doing. From the Firefox menu select Tools -> Web Developer -> Web Console. A new Web Console window will open. From the Web Console window click the JS button on the toolbar.


2 Answers

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

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

like image 194
Flowgram Avatar answered Oct 13 '22 01:10

Flowgram


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.
like image 43
Arif Avatar answered Oct 13 '22 03:10

Arif