The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniWeb > OmniWeb Feature Requests
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
AdBlock: Import/sync filter list Thread Tools Search this Thread Display Modes
Would be nice to have:

1. Import a .txt file containing the regex filter list directly. Currently I open up the OmniWeb .plist file and add those regexes as child items (faster than adding them thru the UI in Prefs).

2. Sync like how AdBlock on Fx does it: via a central server, adding new stuff as it is updated.

3. A seperate block and whitelist not buried in OmniWeb's main plist.
 
Quote:
Originally Posted by musti
Would be nice to have:
A seperate block and whitelist not buried in OmniWeb's main plist.
Yes! This would facilitate moving rules from one Mac to another.
 
I figured out how to add/import the filterset.g black list if anyone is interested. It takes a third part tool to covert it from binary to ascii but it's pretty easy.

[edit] Even better, plutil is free and included with OSX. It will convert the binary com.omnigroup.Omniweb5.plist to ascii and back to binary. Once converted to ascii, use your favorite editor to add regex strings to your hearts content then convert it back to binary.

plutil -convert xml1 com.omnigroup.Omniweb5.plist (convert to ascii)
plutil -convert binary1 com.omnigroup.Omniweb5.plist (convert to bianry)

Remember to back com.omnigroup.Omniweb5.plist up first!!!!

I used bbEdit to markup the filterset.g blacklist and pasted it in. I think it's working right.. I'll get back to you on that.

Last edited by WebJIVE; 2006-07-13 at 07:03 PM..
 
Quote:
Originally Posted by WebJIVE
Even better, plutil is free and included with OSX. It will convert the binary com.omnigroup.Omniweb5.plist to ascii and back to binary. Once converted to ascii, use your favorite editor to add regex strings to your hearts content then convert it back to binary.

plutil -convert xml1 com.omnigroup.Omniweb5.plist (convert to ascii)
plutil -convert binary1 com.omnigroup.Omniweb5.plist (convert to bianry)
Thanks for the heads-up on this one.
Yes, it works beautifully :)
 
I'd prefer an online-updated list... :)
 
Since the usability of this adblocking-"addon" is - well - crappy, I used the /private/etc/hosts-file to block ads permanently. Use this exemplary file and add the contents using "sudo pico /private/etc/hosts".
 
Hmmm ... is that Firefox AdBlock thing for free or do you have to pay for it? If it's free, it shouldn't be too difficult to write a little perl script (or whatever your preferred scripting language is) to download the AdBlock list and use the abovementioned plutil to incorporate this list into OW's adblocking list.

Just to mention it: If this is no weird binary format—yes, I'd be able to do that. But I don't feel the need for it, as the few regular expressions I use seem to block virtually everything on the sites I frequent. If someone is willing to pay me for it, though, I would do it, of course. :-}
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OO iPad - Sync vs Import/Export? [A: Import/Export; mail ninjas to request sync.] countdrachma OmniOutliner for iPad 6 2011-05-10 11:58 PM
filter content by pop up list phrase hypnosimon OmniOutliner 3 for Mac 3 2010-04-11 01:25 PM
Import AdBlock Plus filters? travisbell OmniWeb Feature Requests 8 2010-04-05 10:13 PM
[REQ] import adblock list via AppleScript frex OmniWeb Feature Requests 1 2009-06-01 11:05 AM
Comprehensive AdBlock list (from EasyList) iNik OmniWeb General 4 2008-03-14 12:56 PM


All times are GMT -8. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.