[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 143495] adblock needs an automatic filterset updater
From:       Thomas Fischer <fischer () unix-ag ! uni-kl ! de>
Date:       2009-07-31 15:28:48
Message-ID: 20090731152853.F169514C18 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=143495





--- Comment #7 from Thomas Fischer <fischer unix-ag uni-kl de>  2009-07-31 17:28:28 ---
I created a patch for KDE 4.2.4 which integrates into KHTML's
khtml_settings.cpp to fetch and load filter lists from
easylist.adblockplus.org.

To load the lists, add the following lines to your khtmlrc in section "Filter
Settings" (these lines are just examples, but you will get the idea):
AdblockPlusMaxAgeDays=5
AdblockPlusName-1=EasyList
AdblockPlusLocalFilename-1=adp-easylist.txt
AdblockPlusURL-1=http://easylist.adblockplus.org/easylist.txt
AdblockPlusName-2=EasyPrivacy
AdblockPlusLocalFilename-2=adp-easyprivacy.txt
AdblockPlusURL-2=http://easylist.adblockplus.org/easyprivacy.txt

The patch will take care of downloading these lists (if cached files do not
exist or too old) and integrate patterns into KHTML's AdBlock list. The
user-defined list will not be touched or modified.
The patch contains no UI code yet and is basically a proof-of-concept. Issues
among others is the cache location ("/tmp/").
Feedback is welcome.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic