Was getting pissed off that the easylist whitelists were#1 letting ads through#2 not letting me block wikimedia pics posted by EUPHALOGonna have this run daily, and subscribe to my local copy Seems to work fine, though I don't know much about python, so if you can suggest improvements, please go ahead.import urllibimport resock = urllib.urlopen("http://easylist.adblockplus.org/adblock_rick752.txt")whitelist = re.compile('@@')sitelines = sock.readlines()sock.close()filelines = []for line in sitelines: if not whitelist.match(line): filelines.append(line)FILE = open("C:\\adblock.txt", 'w')FILE.writelines(filelines)FILE.close
3/16/2008 5:32:14 PM
Say what?You know you can add your own filters, you're not limited to subscriptions.
3/16/2008 5:43:22 PM
yeah no shitI also want the easylist w/o the whitelistFOR EXAMPLEif you have adblock plus and are subscribed to easylist: message_topic.aspx?topic=518643try to block the giant john mccain pic.YOU CAN'Tbecause it's whitelisted on easylist.[Edited on March 16, 2008 at 5:57 PM. Reason : example:]
3/16/2008 5:46:22 PM
Ah I see now what you mean. Now I remember why I got rid of that EasyList sub and just manually block everything myself.I like your solution though, good idea.
3/16/2008 6:03:18 PM
I didn't even realize it was because of the whitelists until today. I thought it was some bug in adblock and the url format of wikimedia pics. I guess that whitelist is how adblock plus gets money.
3/16/2008 6:19:49 PM