[Resolved] Enable JavaScript while keeping NoScript active

Ask for help about NoScript, no registration needed to post
equesinferi
Posts: 3
Joined: Sun Jul 21, 2024 7:53 pm

[Resolved] Enable JavaScript while keeping NoScript active

Post by equesinferi »

Hi, is there a way to keep JavaScript enabled, while keeping NoScript active? I couldn't find any info about this online
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
barbaz
Senior Member
Posts: 10901
Joined: Sat Aug 03, 2013 5:45 pm

Re: Enable JavaScript while keeping NoScript active

Post by barbaz »

equesinferi wrote: Sun Jul 21, 2024 7:55 pm Hi, is there a way to keep JavaScript enabled, while keeping NoScript active?
Yes.

"Keep JavaScript enabled, while keeping NoScript active" could mean a few different things that are possible, so if you would like more details, could you please be more specific what you have in mind?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
equesinferi
Posts: 3
Joined: Sun Jul 21, 2024 7:53 pm

Re: Enable JavaScript while keeping NoScript active

Post by equesinferi »

NoScript automatically disables JavaScript in Firefox on Linux which breaks a lot of websites. I'd like to keep JS on while also using NoScript everywhere so that webpages dont break on me
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
User avatar
therube
Ambassador
Posts: 7956
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Enable JavaScript while keeping NoScript active

Post by therube »

You could

NoScript | Options | General -> Temporarily set top-level sites to TRUSTED

which might help some.


Otherwise, sounds like you'd want something that worked on a blacklist basis (where NoScript is based on a whitelist basis).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.20
barbaz
Senior Member
Posts: 10901
Joined: Sat Aug 03, 2013 5:45 pm

Re: Enable JavaScript while keeping NoScript active

Post by barbaz »

NoScript Options > General, in Default tab, check "script" (and also "unrestricted CSS" since that's not useful to disallow where JS is allowed)

This method allows using NoScript's per-site permissions system for other capabilities. And to disable individual site's JS while keeping JS enabled by default, you can explicitly set the site Untrusted.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
equesinferi
Posts: 3
Joined: Sun Jul 21, 2024 7:53 pm

Re: Enable JavaScript while keeping NoScript active

Post by equesinferi »

barbaz wrote: Mon Jul 22, 2024 4:06 pm NoScript Options > General, in Default tab, check "script" (and also "unrestricted CSS" since that's not useful to disallow where JS is allowed)
This worked, tysm!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
barbaz
Senior Member
Posts: 10901
Joined: Sat Aug 03, 2013 5:45 pm

Re: Enable JavaScript while keeping NoScript active

Post by barbaz »

You're welcome Image
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Post Reply