You are not logged in.
I have written a script that converts the Fanboy block list for Opera (http://www.fanboy.co.nz/adblock/opera/) into a list understandable by Privoxy. If there is enough interest I can consider submitting it in the AUR. I have used the opera lists because its format is much simpler than the Adblock format (although it should be adapted relatively easily for the simple cases).
Privoxy decomposes a pattern into two parts: the domain and the path and the matching rules are different for these two parts. The Fanboy list (as any other available list that I know) matches the URL as a whole. To convert to the Privoxy format, we should be able to tell which part of a URL is to be considered as the domain and which part is to be considered as the path and there is no easy way to do that if wide characters are used. My script uses some heuristic to try to guess which is what but this cannot be 100% guaranteed; but most patterns are correctly translated.
There is a script in the AUR to convert from Easylist (for Adblock) to Privoxy. Unfortunately, this script is buggy. It generates lines like:
&adurl=
This cannot work in Privoxy (as can be checked at http://config.privoxy.org/show-url-info). The previous lines should have been translated:
/.*\&adurl\=
.
Edited: Now available in the AUR: https://aur.archlinux.org/packages.php?ID=63431
Last edited by olive (2012-10-08 20:39:52)
Offline
I would certainly be interested in an AUR package: this looks to be very helpful. Thanks olive!
Offline
Thanks Olive! I've been unsuccessfully running another script based on adblock plus for a long time.
I've enabled this filter: https://www.fanboy.co.nz/fanboy-adblock.txt
Should I enable these as well?
https://www.fanboy.co.nz/fanboy-tracking.txt
https://www.fanboy.co.nz/fanboy-addon.txt
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline
Thanks Olive! I've been unsuccessfully running another script based on adblock plus for a long time.
I've enabled this filter: https://www.fanboy.co.nz/fanboy-adblock.txt
Should I enable these as well?
https://www.fanboy.co.nz/fanboy-tracking.txt
https://www.fanboy.co.nz/fanboy-addon.txt
You should take the list designed for opera (the lists you mention are designed for adblock+), see: https://www.fanboy.co.nz/opera.html . (the CSS filter are not implemented take only the filter lists). Choose the list you want. Use only one file (opera support only one file, so the lists are designed in this way, using more than one file will only add redundancies).
Offline
Oh! LOL, I guess I didn't know what fanboy was, and assumed that all fanboy filters were designed for opera. I should have read more carefully. Thanks for clearing that up.
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline