Adding domain-specific hiding support to the adblocker

Review Request #111521 - Created July 15, 2013 and submitted

Information
Paul Rohrbach
rekonq
Reviewers
rekonq
Adding domain-specific hiding support to the adblocker.

The domain-specific rules are stored in a QMultiHash, where the key is the domain and the values are the rules for the specified domain. This causes redundancy, because on rule can be applied to more than one domain, but has a really fast look-up time. The code for the generic hiding has not changed and is just relocated.
- it hides things
- it is reasonably fast (generic hiding takes with my configuration 300-500ms, the domain-specific hiding only takes 30-70µs)
Andrea Diamantini
Andrea Diamantini
Commit Hook
Paul Rohrbach
Review request changed

Status: Closed (submitted)

Loading...