bug with a rules

This is where you should report issues arising from the subscription filters.
Locked
genius201
Senior Member
Senior Member
Posts: 52
Joined: Mon Mar 23, 2015 2:21 pm

bug with a rules

Post by genius201 »

Guys,

Since 5 days this insane rule has some latency impact under chrome with some urls.
https://hg.adblockplus.org/easylist/rev/482784a172c6
I know that should be apply only for youporn website but it doesn't.

I tried to find this issue since 2 days why my browser was slow under few website.
The stalled time under chrome is like around 10sec for very long filename.

You should fix that asap.

Image

Best regards,
Last edited by genius201 on Thu May 28, 2015 9:44 pm, edited 1 time in total.
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

What adblocker are you using ?
genius201
Senior Member
Senior Member
Posts: 52
Joined: Mon Mar 23, 2015 2:21 pm

Post by genius201 »

Hi intense,

it's Adblock plus
genius201
Senior Member
Senior Member
Posts: 52
Joined: Mon Mar 23, 2015 2:21 pm

Post by genius201 »

for example a long url like the one below with the regular expression that I cited above delays the loading of the page:

http://xibkvsdk3ircagastcipqgt2slfcvix2 ... QlsMAA4Mzp


the modification made 5 days ago ....*[a-zA-Z0-9]{3}.*(?..... change by .*[a-zA-Z0-9]{2,8}.*( multiply by 2^6 the execution time of this regular expression !!
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

it should work fine (for domains / sites not in $domain)
see
https://issues.adblockplus.org/ticket/2177
genius201
Senior Member
Senior Member
Posts: 52
Joined: Mon Mar 23, 2015 2:21 pm

Post by genius201 »

Yes It seems to be the same problem that it was on firefox.

You should do the same fix for Chrome , I'tried with firefox and indeed it's work with but not chrome.
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

well, the last stable build is still unoptimized, but the last dev build seems ok:

as I can see in adblockplus.js (from lib) it's the same as in firefox

Code: Select all

    matches: function(location, contentType, docDomain, thirdParty, sitekey)
{
if ((RegExpFilter.typeMap[contentType] & this.contentType) != 0 && (this.thirdParty == null || this.thirdParty == thirdParty) && this.isActiveOnDomain(docDomain, sitekey) && this.regexp.test(location))
{
return true;
}
return false;
}
};
so, install the last dev build from
https://chrome.google.com/webstore/deta ... kn/details

and try it
Locked