Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 462
bman2013 Avatar asked Oct 02 '15 23:10

bman2013


1 Answers

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

like image 131
Jasel Avatar answered Sep 27 '22 23:09

Jasel