| 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/
|
|
|
|
|
|
|
|
|
| |
- 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...
|
| |
|
| |
|
| |
|
|
|
|
| |
some of them
|
| |
|
| |
|
|
|
|
|
|
| |
separate adblock settings from rekonq ones.
We now have 60 adblock rules list sites stored to be enabled
"on click"
|
| |
|
|
|
|
| |
BUG: 246801
|
|
|
|
|
| |
REVIEW: 103242
REVIEWED-BY: adjam
|
|
|
|
| |
BUG: 272107
|
|
|
|
|
| |
improve adblock docs
check third-party option before (faster)
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Speed up compilation & linking on Win, Lin & Mac. Step 1
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This will let rekonq to automatically add abp subscriptions
from the adblockplus.org site (or wherever someone provides abp urls)
Anyway, consider that the raccomended way to manage adblock (by me and by
abp developers) is just adding the EasyList subscription.
rekonq just does it by default!!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This (squashed) commit adds this new feature in rekonq, letting
people to simply "forgot" adblock and let rekonq do everything for it
I added:
- a new (rekonq) adblock widget
- an asyncronous method to update rules from the net every TOT days
- a better AdBlockManager management.
What it is actually missing is the adp protocol support to add new
subscriptions to adblock. This will come the next week.
For now this part seems stable and needs just testing :)
|
| |
|
| |
|
|
|
|
|
|
| |
With this commit, we save (at least) 3 bytes for each AdBlockRule defined
(and probably more than 3!).
In my installation I have about 100 rules... :)
|
|
|
|
|
| |
Removed the "options" part. Will be rewritten in rekonq 0.5
together with the UI..
|
| |
|
| |
|
|
|
|
| |
This time I decided for speed..
|
|
|
|
|
|
|
|
|
|
|
| |
I had a lot of problems implementing it because I started working on
assuming 2 things:
1) konqueror implementation works (it's not true, I found a bug! To guess what,
try loading current rekonq vs current konqueror against kde-apps.org)
2) Arora's implementation can be easily ported to kcm technology. Another wrong assumption,
based on MVP implementation.
Sorry for spamming master branch, guys.
|
|
|
|
| |
adblock (KDE one) fix #1
|
|
|
|
| |
Sorry about that :(
|
|
|
|
|
| |
This will be useful (if someone is interested) in pushing our patches
directly on khtml filter engine.
|
|
|
|
| |
But at least it's ads free!
|
|
|
|
| |
Now it's really time to go to bed :)
|
|
|