Discussions » Greasy Fork Feedback

incorrect "Applies to:" on information page

§
Posted: 2015-06-05

incorrect "Applies to:" on information page

I have in my script the following includes:

https://greasyfork.org/en/scripts/10272-cam4-clean

// @include http://*.cam4.tld/*
// @include http://*.cam4.com.tld/*
// @include http://*.cam4.co.tld/*
// @include http://*.cam4.sa.com/*
// @include http://*.cam4.za.com/*
// @include http://*.cam4.de.com/*
// @include http://*.cam4.ar.com/*
// @include http://*.cam4.hu.com/*
// @include http://*.cam4.net.ua/*
// @include http://*.cam4.biz.tr/*
// @include http://*.cam4.org.pe/*
// @include http://*.cam4s.com/*
// @include http://*.sex.co.uk/*
// @include http://*.lesbiansex.com/*
// @include http://*.pornografico.com/*
// @include http://*.pornografia.com/*

the "Applies to:" says it will work on:

cam4.ar.com cam4.biz.tr cam4.co.com cam4.co.uk cam4.com cam4.com.de cam4.de cam4.de.com cam4.hu.com cam4.net cam4.net.ua cam4.org cam4.org.pe cam4.sa.com cam4.za.com cam4s.com co.co.uk co.de co.net co.org com.co.uk com.com com.net com.org lesbiansex.com pornografia.com pornografico.com sex.co.uk

this includes com.com and com.org and some others where the script will not ,and should not, work.

i think it's a wrong interpretation of .tld

§
Posted: 2015-06-06

No, I think you have it wrong. According to this, .tld uses the Public Suffic List. cam4.tld should match cam4.co.uk and cam4.com.cn and a whole bunch of other things.

§
Posted: 2015-06-06

i think you are correct about this
it still does not explain why com.com is in the list

§
Posted: 2015-06-06
Edited: 2015-06-06
// @include http://*.cam4.com.tld/*

Which cam4.com.tld generates cam4.com.com

Edit: and then it strip down to top-level domain only, I believe.

Post reply

Sign in to post a reply.