[Roadmap] Wildcards and $domain

Various discussions related to Adblock Plus development

[Roadmap] Wildcards and $domain

Postby fanboy » Sat Feb 21, 2009 2:51 am

trying to replace a filter like this,

Code: Select all
@@|http://earth.google.


with something like this,
Code: Select all
@@.google-analytics.$domain=earth.google.*


Just doesn't seem to work :/
User avatar
fanboy
 
Posts: 3446
Joined: Sun Jun 17, 2007 4:45 am

Postby Adblock Plus Fan » Sat Feb 21, 2009 3:16 am

I'd like wildcards to work on domain filter options as well. As fanboy pointed out, it can be useful for different country domains.
User avatar
Adblock Plus Fan
 
Posts: 1255
Joined: Sat Feb 24, 2007 12:08 pm

Postby Wladimir Palant » Mon Feb 23, 2009 11:18 am

Domains being "inflexible" was both a performance consideration and a feature - if they match right side only there no chance of false positives. It is also consistent with the way domains are used for element hiding. But I agree that Google doesn't make it easy to use domain-based rules.
Wladimir Palant
ABP Developer
 
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Postby SlimShady » Mon Feb 23, 2009 12:49 pm

Greasemonkey has a Magic TLD.
When writing include and exclude rules in the metadata block of a Greasemonkey script, using the magic syntax .tld in place of a specific top-level domain will match against any top-level domain.


I recall you were struggling with TLDs while developing the 'third-party' feature. Maybe you could also use that code for the 'domain' option.
And the 'magic tld' for url filters?
SlimShady
 
Posts: 49
Joined: Sat Sep 09, 2006 12:49 pm

Postby Wladimir Palant » Mon Feb 23, 2009 12:56 pm

Ok, that's something to consider...
Wladimir Palant
ABP Developer
 
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Postby Adblock Plus Fan » Tue Feb 24, 2009 4:54 am

SlimShady wrote:And the 'magic tld' for url filters?
This could be very interesting. Perhaps as a separate option?
Something like example.com$magic-tld

edit:
But I guess that wouldn't work since .com would need to match an item before filter option is considered?
User avatar
Adblock Plus Fan
 
Posts: 1255
Joined: Sat Feb 24, 2007 12:08 pm

Re: Wildcards and $domain (Feature request)

Postby Wladimir Palant » Thu Sep 30, 2010 9:07 am

Scheduled for Adblock Plus 1.4, tentatively - time to start looking into this.
Wladimir Palant
ABP Developer
 
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: [Roadmap] Wildcards and $domain

Postby Adblock Plus Fan » Fri Feb 11, 2011 6:38 pm

EDIT
Adblock Plus Fan wrote:The magic TLD implementation is needed more than ever now with Easyprivacy's policy change of filtering domains. And the tracking networks have already started exploiting this weakness:
http://forums.lanik.us/viewtopic.php?t=8037
Scratch that. Didn't turn out to be as urgent as I thought, since apparently the Easyprivacy maintainers are fine with adding a many domain entries as necessary.

Sorry about the meaningless bump :lol:
User avatar
Adblock Plus Fan
 
Posts: 1255
Joined: Sat Feb 24, 2007 12:08 pm

Re: [Roadmap] Wildcards and $domain

Postby Ares2 » Wed Feb 16, 2011 5:25 pm

Also, if they would really try to "exploit" this, what would stop them to register trackingserver2.com, tracking-server.com, etc. if trackingserver.* is blocked? The possibilities are endless. :wink:
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Re: [Roadmap] Wildcards and $domain

Postby Guest » Sun Jan 13, 2013 9:15 am

Ares2 wrote:Also, if they would really try to "exploit" this, what would stop them to register trackingserver2.com, tracking-server.com, etc. if trackingserver.* is blocked? The possibilities are endless. :wink:

At that point wouldn't it just be that time where a user would add the new website to the list? Yes the possibilities are endless, but we can at least add them as we encounter them..right? :?:
Guest
 

Re: [Roadmap] Wildcards and $domain

Postby zaza » Tue May 21, 2013 11:03 pm

Guest wrote:
Ares2 wrote:Also, if they would really try to "exploit" this, what would stop them to register trackingserver2.com, tracking-server.com, etc. if trackingserver.* is blocked? The possibilities are endless. :wink:

At that point wouldn't it just be that time where a user would add the new website to the list? Yes the possibilities are endless, but we can at least add them as we encounter them..right? :?:


That's a good point. Can't something be implemented in this regard?


____________________________________________________________________________________________________________________________________________
Advertising is the art of convincing people to spend money they don't have for something they don't need. Free hosting
zaza
 
Posts: 2
Joined: Tue May 21, 2013 10:47 pm


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 2 guests