summaryrefslogtreecommitdiff
path: root/src/adblock/adblockhostmatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* Restored Adblock moving hiding logic to the one used in kwebkitpartAndrea Diamantini2012-12-101-0/+54
| | | | | This will let everyone to save time reinventing the wheel and let us remove webpage from adblockmanager code, but just manage it via (Q)NAM.
* WARNING COMMIT --> FIRST REKONQ 2 IMPORTAndrea Diamantini2012-12-101-54/+0
| | | | Preparing repo to merge rekonq2 code...
* Coding styleAndrea Diamantini2011-02-251-1/+4
|
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-1/+1
|
* Add a special matcher for ad block filters for host nameBenjamin Poulain2010-08-191-0/+51
Quite a few rules of ad block are just matching domains. Those are of the form: ||trolltech.com^$options This patch add a new class to deal with this kind of filter, AdBlockHostMatcher. Matching a host address is much faster (O(1)) than going through the entire list of rules.