dpacassi / disable-javascript

Adds the ability to disable JavaScript on specific sites.
MIT License
272 stars 34 forks source link

freeze javascript (avoid reloading page) #87

Open fpoto opened 3 years ago

fpoto commented 3 years ago

I sometimes use DJ because one of my tabs consumes cpu (and makes my fan noisy), This happens for youtube and other sites. It works, but has the annoying side effect of reloading the tab, both when disabling and when reenabling. For youtube, this means that the video I was looking is reset to start, for other sites that some status is lost.

I imagine that this cannot be done reliably in all situations, but maybe it could be done in many. At the same time, it would be nice to enable the above functionality by default or for individual tabs whenever a tab is not visible, and whenever a window goes out of focus.

yes, I know, it's too much :)

Thanks for this extension