How to add custom filter list into Adblock


GHosTiK

Recommended Posts

if you not satisfied with Maxthons Adblock subscription filter lists you can add your own

be aware - you need to know what your doing!

1. find \UserData\Users\_name_of_your_profile_\AdBlock\ in Maxthon folder

2. here will be patterns.ini

3. backup it (copy, archive ets.)

4. append to the end of this original file such lines (dont change anything else or you may corrupt file):

url=_full_link_to_filter_

title=_name_of_filter_

fixedTitle=true

homepage=_homepage_

(change _words_ with yours)

5. restart Maxthon

6. in filters list will appear yours, now you need to update it (it should update itself, but i recommend manually)

sample:

url=https://easylist-downloads.adblockplus.org/fanboy-social.txt

title=Fanboy's Social Blocking List

fixedTitle=true

homepage=https://easylist.adblockplus.org/

ps: IMHO now its the only way to add custom filter list, coz subscriptions list hard-coded into MxWebkit.dll

Link to comment
Share on other sites

@GHosTiK: wonder if I am undeerstanding what you suggesst? When I see "custom rules" I think of rules place in the "Create your rrules" of the AdBlocker Pluse Options dialog. I have installed rules there (lWilser's International List from the forum here and some of the YouTube blocking list also posted here) and they are working with no problems.

I had also sub scribed to EasyList and MaxthonList, but following Wilserl's directions disabled them to be sure his list worked unhindered.

With that background, are you suggesting that subscriptions be added by editing patterns.ini instead of using the Ad Blocker Plus Options dialog? I have not found any problems using the dialog to set up working filters. So why edit the file instead of using the dialog?

The "Filter Lists" of the dialog has provisions for selecting filter lists to add, both the defaults EasyList and its relatives in other languages and Maxthon List plus other lists all I presume have to be subscription lists so that updates are received when they occur.

Nevertheless, the information is useful to know. I'm just asking for some clarification.

>

Link to comment
Share on other sites

SnowLeopard replied at 2015-1-18 00:20 back.gif

@GHosTiK: wonder if I am undeerstanding what you suggesst? When I see "custom rules" I think of r ...

In .600 the only options to add a new list would be as described above or copy/paste the list into the "Create a filter" page.

In the later test versions (as you're testing) new options have been added that will render this redundant.

Link to comment
Share on other sites

7twenty replied at 2015-1-17 14:55 back.gif

In .600 the only options to add a new list would be as described above or copy/paste the list into ...

Yes I've noted that, but unfortunately the option "Add your own filter" does not result in a successful download of a subscription list. My test case was TinyList from http://adblock.free.fr/tinylist.txt'>http://adblock.free.fr/tinylist.txt>. And I always get "Download Failed." Editing the pattern.ini file and adding:

url=http://adblock.free.fr/tinylist.txt'>http://adblock.free.fr/tinylist.txt

title=TinyList

homepage=http://adblock.free.fr

at the end of patterns.ini text did add a functioning list.

>

Link to comment
Share on other sites