There's also a Firefox extension called "Disable JavaScript" that places a JavaScript toggle switch on your address bar and remembers whether you want JavaScript on or off on each specific site that you visit.
Brave browser has a fairly simple process as well. It requires two clicks. Click on the shield on the top right, then click on the "Scripts Blocked" toggle button.
If using Chrome, you can use Cmd+Shift+C to open DevTools, Cmd+Shift+P to open command palette, and then type 'disable javascript' and hit enter.
If using Safari, use System Preferences to assign a shortcut to the "Disable Javascript" menu command (I use command+K).
Or click the lock in the address bar, "Site settings", set "javascript" to "block". This will be sticky across the site, for better or worse.
Can also be default disabled, then permitted for selected sites.
that button has a strange icon... but thanks for pointing it out
It's a code block icon - what's strange about it?
This is also a great resource for getting around JavaScript-based paywalls.