| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Hiding rules support (at least the easy ones, the most ones, against
hiding id && classes)
:D
To test it, take a look (in example) at the url:
http://simple-adblock.com/faq/testing-your-adblocker/
|
| |
|
|
|
|
| |
CCBUG: 315002
|
|
|
|
| |
about
|
| |
|
|
|
|
|
|
|
|
|
| |
- restored CTRL + ENTER code
- applied Vedant's patch about (thanks!!!)
CCMAIL: vedant.kota@gmail.com
REVIEW: 107662
REVIEWED-BY: Tirtha and me
|
| |
|
|
|
|
|
|
|
|
| |
readded an icon in the urlbar when adblock is active, BUT with
different features: you can now disable adblock "per-site", in a
similar way chromium does.
cleaned up adblock manager code, removing some old no more used code
fragments
|
|
|
|
|
| |
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.
|
|
|
|
| |
Preparing repo to merge rekonq2 code...
|
|
|
|
|
|
|
|
|
| |
This "should" fix some strange adblock behaviour on image hiding.
Needs testing
Patch courtesy by "vic". Thanks :)
PS: will be applied to rekonq2, too.
BUG:305861
|
|
|
|
|
|
|
| |
NOTE: You'll find also some style & copyrights fixes here.
Just reenable the git hooks scripts...
BUG: 302050
|
|
|
|
|
|
| |
- set initial icon to have properly dimensions set
- properly calculate needed icon's height
- calm down some kDebug messages
|
|
|
|
|
|
| |
- astyle
- copyrights
- (some) includes
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
some of them
|
| |
|
|
|
|
|
|
|
|
| |
This is a patch by Andrea Di Menna, changed a bit to allow element
blocked/hided listing (you'll see it in next commit)
REVIEW:102761
REVIEWED-BY: adjam
|
| |
|
|
|
|
|
|
| |
separate adblock settings from rekonq ones.
We now have 60 adblock rules list sites stored to be enabled
"on click"
|
| |
|
|
|
|
|
| |
- doublequote_chars
- normalize
|
|
|
|
| |
BUG: 246801
|
|
|
|
|
|
|
| |
- QL1S/QL1C
- single-char QString efficiency
- explicit ctors
- normalized signals & slots
|
|
|
|
|
| |
REVIEW: 103242
REVIEWED-BY: adjam
|
| |
|
|
|
|
| |
BUG: 282012
|
|
|
|
|
|
|
|
|
| |
This original patch from fritz_van_tom has been modified by me
to fix a couple of "obsoleted" things not removed in the
previous changes.
My fault for them (and for the need of this patch), sorry.
REVIEW: 102362
|
|
|
|
|
|
|
|
|
|
|
| |
- Removed showDeveloperTools action
- Moved adblock GUI to adblock part
- renamed toolsMenu and developerMenu to reflect their real/new roles
- Added UserAgent action to the tools menu
REVIEW:102170
REVIEWED-BY: fritz_van_tom
|
|
|
|
|
|
| |
- QL1S
- one stupid kDebug less
- codingstyle
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
The rules to hide elements for a specific domains were interpreted
as regular RegExp rules, which grows the list of filter to test.
Those rules are not working with the current implementation, we should
just skip them for efficiency.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The method pattern imply the rule is implemented with a regexp, which
is what we should try to avoid in the future for performance reasons.
|
| |
|
| |
|
| |
|
|
|
|
| |
added cppcheck script
|
| |
|