| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you open rekonq and start typing immediately, there is a small lag
(about half a second).
This is caused by the AdBlockManager::loadSettings function reading
the adblock rules. It is called with a one second delay to make the
startup faster. With this patch, the function is called in a separate
thread using QtConcurrent::run to eliminate the lag.
To make this safe, the adblocker is enabled after the settings are
loaded, which means, that the first site loaded could be partially
with ads. But this is no change in behavior, as the adblocker in
current master is disabled for a whole second.
The only times this blocks now is in situations, where it is necessary
that the settings are loaded (showSettings and addCustomRule), but I
guess that no normal user will use those in under
a second after startup :)
REVIEW: 111712
REVIEWED-BY: adjam
|
|
|
|
|
|
|
|
|
|
|
| |
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.
REVIEW: 111521
REVIEWED-BY: adjam
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Thomas, can you test this and tell us if it is enough?
CCMAIL: thomas@tanghus.net
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Patch by Yuri Chornoivan, Thanks :)
BUG: 303180
|
| |
|
|
|
|
|
|
|
| |
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: 272107
|
|
|
|
| |
BUG: 282012
|
|
|
|
|
| |
remove wrong assumption on referer header.
This fixes a lot of third-party rules :)
|
|
|
|
|
| |
improve adblock docs
check third-party option before (faster)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
CCMAIL: fritz_van_tom@hotmail.com
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|