bman2013
bman2013

Reputation: 407

Keyboard shortcut to disable Javascript on Chrome?

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

Answers (1)

Jasel
Jasel

Reputation: 564

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

Upvotes: 7

Related Questions