Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome - Disable javascript without reload?

Chrome, as well as a number of extensions enable you to disable javascript so on your page, but all of them force some type of reload to the page.

I am trying to diagnose a poor scrolling performance issue. I would like to have JS enabled while the content loads and initiates, and then disable it altogether, to check whether the issue is script-based or it's just the heavy page content that's causing the issue.

Is there any way to do this?

like image 490
iuliu.net Avatar asked Nov 23 '16 10:11

iuliu.net


People also ask

What happens if you disable JavaScript in Chrome?

It blocks several elements on websites that include tracking cookies, thus enhancing your privacy. Disabling JavaScript can break websites too, affecting the user experience. It eliminates the possibility of a hacker injecting malicious code into the web page you browse.


1 Answers

You can use the Devtools Command menu to "Disable Javascript" and "Enable Javascript". This was demonstrated recently by Kayce's answer to How to disable javascript in chrome developer tools.

like image 119
Gideon Pyzer Avatar answered Oct 16 '22 14:10

Gideon Pyzer