How do I only allow per-site settings?

Ask for help about NoScript, no registration needed to post
Hund
Posts: 3
Joined: Thu Feb 19, 2026 9:15 am

How do I only allow per-site settings?

Post by Hund »

When I allow, let's say domain xxx.tld on the website yyy.tld, and then visit website zzz.tld, the domain xxx.tld is also allowed on website zzz.tld.

I would, obviously, only want my changes to apply on the specific website, and not all websites, which basically renders the add-on useless.

How can I change this behaviour? Or is it a bug?
Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
barbaz
Senior Member
Posts: 11158
Joined: Sat Aug 03, 2013 5:45 pm

Re: How do I only allow per-site settings?

Post by barbaz »

There is no option to change this behavior, and it's not a bug. But NoScript does have a way to do what you're seeking. If you set a site to CUSTOM in the NoScript popup, the "Enable these capabilities when top page matches" drop-down selects whether you're seeing/configuring permissions to apply when browsing "ANY SITE" or only when browsing the specific site you're on now. Note that these per-site permissions are contextual only to the top-level site loaded directly in the browser tab - this feature does not distinguish whether the active content was loaded directly by the top-level page vs. loaded in a (potentially third-party) subdocument or (i)frame.
Hund wrote: Thu Feb 19, 2026 9:26 am I would, obviously, only want my changes to apply on the specific website, and not all websites, which basically renders the add-on useless.
Why?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
Hund
Posts: 3
Joined: Thu Feb 19, 2026 9:15 am

Re: How do I only allow per-site settings?

Post by Hund »

Thank you for the reply!

Well. Perhaps not useless. :D I use this add-on to get back some control from the big bad wolf. If I browse, say youtube.com, I'm making a active decision that I'm okay with being tracked and all that, but I don't want to be randomly tracked on various other websites where they have included JavaScript from youtube.com without me knowing about it.
Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
barbaz
Senior Member
Posts: 11158
Joined: Sat Aug 03, 2013 5:45 pm

Re: How do I only allow per-site settings?

Post by barbaz »

Hund wrote: Thu Feb 19, 2026 8:12 pm If I browse, say youtube.com, I'm making a active decision that I'm okay with being tracked and all that, but I don't want to be randomly tracked on various other websites where they have included JavaScript from youtube.com without me knowing about it.
NoScript's blocking is security-focused and mostly limited to active content. It's insufficient for privacy.

For privacy protection we recommend using another extension alongside NoScript, e.g. a wide-spectrum blocker like uBlock Origin (see e.g. viewtopic.php?p=108393#p108393 for how to avoid conflict between the two)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0
Hund
Posts: 3
Joined: Thu Feb 19, 2026 9:15 am

Re: How do I only allow per-site settings?

Post by Hund »

Privacy and security goes hand in hand. You can't have privacy without security.

Thank you for the recommendation, but I already use uBlock Origin. :)
Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
Post Reply