The Omni Group

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

Reply
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.
  Reply With Quote
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.
  Reply With Quote
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..
  Reply With Quote
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 :)
  Reply With Quote
I'd prefer an online-updated list... :)
  Reply With Quote
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".
  Reply With Quote
Reply


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 01:10 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.