Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do that, too. cmd-J as shortcut to enable JavaScript without needing to reload. In my experience once I hardcode which websites I need JavaScript on, browsing becomes painless. And much faster obviously.



Alright but the last time I did this the answer to "which websites I need JavaScript on" was "All of them". Is that still the case.


You don't need all of the javascript for all websites. In my experience, I enable javascript to load from probably 10-20% of domains (using noscript).


How do you set the shortcut? When I press cmd-j the Library in Firefox opens. I have checked "Disbale javascript" in settings in uBO. I guess that setting will be disable for just the site i visit when i click cmd-j?


This shows the keyboard shortcut configuration: https://github.com/gorhill/uBlock/wiki/Keyboard-shortcuts#ac...

The setting is called "Relax blocking mode" and will enable JavaScript (but keep all ad blockers) if JavaScript is disabled by default.

In summary, for Firefox it’s under

  about:addons > gear icon > Manage Extension Shortcuts
and for Chrome you can set it under

  chrome://extensions/shortcuts




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: