1

I have found this site with Firefox shortcuts. They mention a shortcut Ctrl+Shift+F9 but it doesn't work for me.

I need shortcut for quick switching to without JavaScript mode during debugging of my site.

Can anybody help?

EDIT: I need to stop executing JavaScript on the currently opened page. Previous changes on the page made by JavaScript will stay preserved.

7

2 Answers 2

1

install the keyconfig extension, then add a key with this code:

var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(
   Components.interfaces.nsIPrefBranch);
prefs.setBoolPref("javascript.enabled", !prefs.getBoolPref("javascript.enabled"));

this toggles firefox's "javascript enabled" preference. i've tested it on firefox 9 on ubuntu lucid, and it works.

more keyconfig examples: http://snarfed.org/firefox_keyconfig_extension

2
0

Looks like Opera browser is unbeaten here too.

In Opera, you just press two keys, sequentially: F12, j to toggle JavaScript disabled/enabled state on the current tab. Scripts are stopped immediately, you'll only need to reload page to start scripts again.

BTW, the last "true" Opera is Opera version 10.10. YMMV with newer Opera.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .