zlacker

[parent] [thread] 7 comments
1. patrec+(OP)[view] [source] 2020-11-28 21:21:38
You can assign a keyboard shorcut to that easily (I bound it to Cmd+Shift+J and find it super-handy):

https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac

If someone knows how to achieve the same on Linux for Chrome and Firefox, I'd love to hear it (browser plugins are a bit of a security and stability shitshow, so non-plugin solution would be preferred, all else being equal).

replies(4): >>metric+S >>geofft+61 >>yjftsj+81 >>1over1+f1
2. metric+S[view] [source] 2020-11-28 21:28:42
>>patrec+(OP)
From a security stand point you should at least have uBlock Origin installed for Chrome and Firefox. It can block JavaScript easily. I would trust NoScript as well which provides fine grain control over scripts. I get not wanting any extensions, but blocking scripts will unfortunately never be viable in a user base that doesn’t know what a “script” is...
3. geofft+61[view] [source] 2020-11-28 21:30:41
>>patrec+(OP)
On iOS Safari?
4. yjftsj+81[view] [source] 2020-11-28 21:30:45
>>patrec+(OP)
Mozilla removed the normal settings toggle a while back, so your options are to manually set javascript.enabled in about:config or use an extension. I agree in general that extensions aren't great, but I trust uBlock.

I think Chrome actually is fine although I don't know of a keybinding for it: Don't they still have a toggle right in the site menu (click the icon to the left of the URL to toggle all kinds of these things)?

replies(2): >>hoistb+z3 >>runarb+a6
5. 1over1+f1[view] [source] 2020-11-28 21:31:52
>>patrec+(OP)
He said iOS, not macOS. Most iOS devices don't have a keyboard to do combos like that.
replies(1): >>patrec+E7
◧◩
6. hoistb+z3[view] [source] [discussion] 2020-11-28 21:54:08
>>yjftsj+81
In Vivaldi (which I'm 99% certain matches chrome for this part) you click the icon to the left of the URL and then click "Site Settings" at the bottom of the resulting menu where you can toggle a slew of permissions, including javascript.

It's about the best UI I could come up with for this particular knob and the other things adjacent to it.

◧◩
7. runarb+a6[view] [source] [discussion] 2020-11-28 22:21:05
>>yjftsj+81
You can still disable JavaScript via the developer tools. Although it is this session only and auto-reload, so you must tick that checkbox every time you navigate to a new link.
◧◩
8. patrec+E7[view] [source] [discussion] 2020-11-28 22:35:52
>>1over1+f1
Ugh, sorry, I misread that. The workaround I would recommend on iOS is just turn javascript off in Safari and install another (Safari-skin) browser like Chrome for the times when you need javascript -- or vice versa, depending on what your default preference is.
[go to top]