OLD | NEW |
1 # abp2blocklist | 1 # abp2blocklist |
2 | 2 |
3 This is a script to convert [Adblock Plus filter lists](https://adblockplus.org/
filters) | 3 This is a script to convert [Adblock Plus filter lists](https://adblockplus.org/
filters) |
4 to [WebKit block lists](https://www.webkit.org/blog/3476/content-blockers-first-
look/). | 4 to [WebKit block lists](https://www.webkit.org/blog/3476/content-blockers-first-
look/). |
5 | 5 |
6 Note that WebKit content blockers are fairly limited. Hence, not all filters | 6 Note that WebKit content blockers are fairly limited. Hence, not all filters |
7 can be converted (in a compatible way), and some differences compared to Adblock | 7 can be converted (in a compatible way), and some differences compared to Adblock |
8 Plus for other browsers are expected. | 8 Plus for other browsers are expected. |
9 | 9 |
10 This script is used to convert the filter lists for | 10 This script is used to convert the filter lists for |
11 [Adblock Plus for iOS](https://adblockplus.org/releases/adblock-plus-10-for-ios-
released). | 11 [Adblock Plus for iOS](https://adblockplus.org/releases/adblock-plus-10-for-ios-
released). |
12 | 12 |
| 13 ## Requirements |
| 14 |
| 15 The required packages can be installed via [NPM](https://npmjs.org): |
| 16 |
| 17 ``` |
| 18 npm install |
| 19 ``` |
| 20 |
13 ## Usage | 21 ## Usage |
14 | 22 |
15 ``` | 23 ``` |
16 node abp2blocklist.js < easylist.txt > easylist.json | 24 node abp2blocklist.js < easylist.txt > easylist.json |
17 ``` | 25 ``` |
OLD | NEW |