Page 1 of 1

Export Adblock Filter Subscriptions easily

Posted: Tue Mar 22, 2016 6:24 pm
by camel
Hello,

if you want to export filter subscriptions (URLs) to another machine, this is the way to go:
! close Firefox !

$ cd ~/.mozilla/firefox/*.default/adblockplus

$ grep "^\[Subscription\]" -A2 patterns.ini | sed 's/^--$/\n/g'
( > out.txt)

remove all files in 'adblockplus' and rename out.txt > patterns.ini (or the output of the command above)

share this patterns.ini (after having removed content like ~user~..... = user specific filters)

restart firefox, wait some 1-2 minutes consider filter settings (CTRL+SHIFT+E) and check the auto-generated patterns.ini having been formated correctly (starting with # Adblock Plus preferences; version=4)


Di 22 Mär 2016 18:09:27 CET
It has already been asked here (Adblock Plus • View topic - save/export subscription urls) a while ago

Have fun using it,

Regards
Camel.

Re: Export Adblock Filter Subscriptions easily

Posted: Tue Mar 22, 2016 6:28 pm
by mapx
No. You simply have to use the backup / restore features in filter preferences.

Re: Export Adblock Filter Subscriptions easily

Posted: Thu Mar 31, 2016 6:30 pm
by camel
i am aware of that option, which however exports all downloaded content as well.
considered technically this is rather the way to go and way more obvious (people familiar to software understand this)

Re: Export Adblock Filter Subscriptions easily

Posted: Thu Mar 31, 2016 6:37 pm
by mapx
it exports the official filters and / or custom filters ==> all of them = patterns.ini
what do you mean "downloaded content" ?