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.

migrated from stackoverflow.com Dec 28 '11 at 20:41

This question came from our site for professional and enthusiast programmers.

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.