| Summary: | AdBlock problems with some sites | ||
|---|---|---|---|
| Product: | [Unmaintained] rekonq | Reporter: | Alberto Mattea <alberto> |
| Component: | general | Assignee: | Andrea Diamantini <adjam7> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | latest git snapshot | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Alberto Mattea
2011-04-07 20:21:54 UTC
Bisecting leads to: fd1f2205b673a41bedb3959c99b8958f99a7b269 is the first bad commit commit fd1f2205b673a41bedb3959c99b8958f99a7b269 Author: Andrea Diamantini <adjam7@gmail.com> Date: Mon Feb 21 19:21:04 2011 +0100 AdBlock: adding a Null Rule to match all the unimplemented filters. BUG:248045 BUG:253329 BUG:265909 :040000 040000 87a98584eae44258ca0c3f576b5d6ad77952715b 5a072666a577f9dac85e4bac97f4891dfd7bc504 M src The origin of this seems in this rule in adblockrulenullimpl.cpp (line 113):
// third_party
if (option == QL1S("third-party"))
return true;
With it commented everything works as expected.
However, this page stops working:
http://code.google.com/apis/adwords/docs/developer/index.html
Hi Alberto, and many thanks for your bug report and your interesting debugging about ;) I'm testing the changes you suggest. And I'll see what we can do for the third-party adblock rules. Git commit 4b9753d82fceacfdd6db5d6e3f671aed7cc390ba by Andrea Diamantini. Committed on 10/04/2011 at 01:22. Pushed by adjam into branch 'master'. AdBlock Improvements: - 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. M +23 -2 src/adblock/adblockrulefallbackimpl.cpp M +2 -0 src/adblock/adblockrulefallbackimpl.h M +2 -2 src/adblock/adblockrulenullimpl.cpp M +7 -1 src/adblock/adblockruletextmatchimpl.cpp http://commits.kde.org/rekonq/4b9753d82fceacfdd6db5d6e3f671aed7cc390ba It works perfectly here. Thanks! Git commit c8f8c2990489c6808a93bb29a2e4bbf42ddbb43b by Andrea Diamantini. Committed on 10/04/2011 at 01:22. Pushed by adjam into branch '0.7-branch'. AdBlock Improvements: - 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. M +23 -2 src/adblock/adblockrulefallbackimpl.cpp M +2 -0 src/adblock/adblockrulefallbackimpl.h M +2 -2 src/adblock/adblockrulenullimpl.cpp M +7 -1 src/adblock/adblockruletextmatchimpl.cpp http://commits.kde.org/rekonq/c8f8c2990489c6808a93bb29a2e4bbf42ddbb43b |