diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-13 23:24:45 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-13 23:24:45 +0100 |
commit | 6faa12680a0d7d2f13c2862628325ab65521004b (patch) | |
tree | d749f40b304feb6c1d007dcce46c9c8e9d17932d /src/rekonq.kcfg | |
parent | Updating forgotten files (diff) | |
download | rekonq-6faa12680a0d7d2f13c2862628325ab65521004b.tar.xz |
Implemented automatic adblock update.
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 :)
Diffstat (limited to 'src/rekonq.kcfg')
-rw-r--r-- | src/rekonq.kcfg | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/rekonq.kcfg b/src/rekonq.kcfg index bbf20ac1..42ace3d3 100644 --- a/src/rekonq.kcfg +++ b/src/rekonq.kcfg @@ -7,6 +7,7 @@ <!-- Includes --> <include>QtWebKit</include> +<include>QDateTime</include> <include>KUrl</include> <kcfgfile name="rekonqrc" /> @@ -151,4 +152,27 @@ </entry> </group> + +<!-- AdBlock Settings --> + <group name="AdBlock"> + <entry name="adBlockEnabled" type="Bool"> + <default>true</default> + </entry> + <entry name="hideAdsEnabled" type="Bool"> + <default>true</default> + </entry> + <entry name="subscriptionNames" type="StringList"> + <default>easylist</default> + </entry> + <entry name="subscriptionUrls" type="StringList"> + <default>https://easylist-downloads.adblockplus.org/easylist.txt</default> + </entry> + <entry name="lastUpdate" type="DateTime"> + <default>QDateTime(QDate(2009,03,13))</default> + </entry> + <entry name="updateInterval" type="Int"> + <default>7</default> + </entry> + </group> + </kcfg> |