How to handle random subdomains?

Ask for help about NoScript, no registration needed to post
stemid
Posts: 4
Joined: Sun May 29, 2022 4:38 pm

How to handle random subdomains?

Post by stemid »

Sorry if this question has already been asked, I have used noscript for a very, very long time so I've had this problem for years. I'm sure others have run into this.

But how do we handle random subdomains like xxxx.cloudfront.net for example? I can allow the main domain, but every visit I have to temporarily allow these random subdomains.

A feature I've had on my wishlist for a long time is some sort of main domain context aware whitelisting where if I'm on imdb.com then *.cloudfront.net is allowed, but nowhere else.
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to handle random subdomains?

Post by barbaz »

In my experience those aren't random.

When you figure out which specific cloudfront.net domains imdb needs, you can set them CUSTOM with contextual permission for imdb (click the "ANY SITE" drop-down in the NoScript popup). Then when reviewing NoScript Options > Per-site Permissions, knowing why you have these cloudfront.net domains listed only requires looking at what contextual permissions are set.

Setting contextual permission for all cloudfront.net domains is possible too, but you would need to do it manually along the lines of viewtopic.php?p=106460#p106460
Do note that each subdomain of cloudfront.net can be owned by a different site, so it is not unlike allowing *.com
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
stemid
Posts: 4
Joined: Sun May 29, 2022 4:38 pm

Re: How to handle random subdomains?

Post by stemid »

I hope you're right, I honestly haven't noticed if they've changed for sure on sites I often use like imdb.com, only assumed.

But the biggest issue is actually on most of aws consoles, where they load a whole list of random cloudfront subdomains sometimes.
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Post Reply