| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
remove wrong assumption on referer header.
This fixes a lot of third-party rules :)
|
|
|
|
|
|
| |
- QL1S
- one stupid kDebug less
- codingstyle
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- implemented "third party" support
- do NOT block first requests (you cannot even see a blank page, sometimes...)
BUG:270356
PS:
Alberto, can you pls check this really works for you before backporting to
0.7 and let me know about?
Many thanks for.
|
| |
|
| |
|
|
|
|
|
|
| |
BUG:248045
BUG:253329
BUG:265909
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some ads were not filtered because they were incorrectly matched by
the whitelist. This is because we ignore options, including the domain
restrictions.
For example, the white filter:
@@||pagead2.googlesyndication.com/pagead/show_ads.js$domain=kde.org
would match any page regardless of the domain restriction. So no ads
from pagead2.googlesyndication.com were filtered.
This patch adds support for "domain" options in the fallback rules
(the other AdBlockRuleImpl rejects options). The domain of the frame
making the request is now compared to the option to take the right
decision.
This patch requires Qt 4.7 with a recent QtWebKit 2.0.
|
|
|
|
|
|
|
|
|
|
| |
Comparing unicode string without case sensitive is rather expensive
because each codepoint must be converted, which is non trivial for
unicode.
This patch introduce a new argument of ::match() taking the encoded
url in lowercase. This way, the conversion can be done only once
for a lot of rules.
|
|
About 30% of the filter of easylist are just simple text matching. This
new AdBlockRule implementation detects the simple occurences of this
to match the url directly.
On Qt 4.7, this reduce the time spend in AdBlock by around 20%.
|