CleanLinks icon indicating copy to clipboard operation
CleanLinks copied to clipboard

A question regarding the 'Skip Domains' list/syntax

Open ghost opened this issue 10 years ago • 2 comments

Hello,

If I encounter a site which requires to be whitelisted I right-click on CleanLinks' toolbar button, select the address and choose 'Whitelist selection'. OK, works fine.

Now, it appears in this whitelist under CleanLinks' 'Skip Damains' list, I have a.site.com, b.site.com, c.site.com. If I remove all three and replace them with site.com, it doesn't work, neither does it with *.site.com.

At this time I've opted for adding site.com in the 'Skip links matching with' and it works, but this doesn't seem what this list is intended for basically.

So my question is, is there any syntax for the Whitelist enabling a domain to include all (site.com including a.sitec.om, b.site.com etc ..). ?

Thanks.

ghost avatar Dec 08 '14 21:12 ghost

The whitelisted domains are processed as-is, no sub-domain check is made as you've found, this is made this way so that it works as fast as possible.

So, if you have to skip several subdomains, adding .site.com to the Skip Links... options should be ok, although it could have the side-effect other sites using a nested link to that site.com domain would get skipped as well.

diegocr avatar Jan 09 '15 20:01 diegocr

I second this suggestion. Wildcard subdomain exceptions would be useful on a number of sites, including *.slashdot.org.

foresto avatar Sep 08 '15 23:09 foresto