Reputation: 407
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?
Upvotes: 14
Views: 14226
Reputation: 564
Check out this SO Answer. You can pause JavaScript execution using the F8 key when DevTools is open.
Upvotes: 7