12

I am doing some testing on a page and need to quickly disable JavaScript with a keyboard shortcut.

My problem is that the test involves popups on my screen in Chrome asking for confirmation, but if it were possible for me to disable JavaScript completely at will, then I could get past the trail of popups that come up on these test pages. Anyone knows a way? Even if it is at global level?

Enrico
  • 766
  • 8
  • 19
bman2013
  • 387
  • 1
  • 4
  • 13
  • 3
    Found this Chrome extension that does it: https://chrome.google.com/webstore/detail/quick-javascript-switcher/geddoclleiomckbhadiaipdggiiccfje?hl=en – Barmar Oct 02 '15 at 23:58
  • 1
    I think this question would better fit in http://superuser.com/ Also the title is about javascript, the content about java and you should specify which system you're on. – Kaiido Oct 03 '15 at 02:24

1 Answers1

5

Check out this SO Answer. You can pause JavaScript execution using the F8 key when DevTools is open.

Jasel
  • 535
  • 8
  • 14