First, clone the Mozilla focus project and make it fetch its list:
$ git clone https://github.com/mozilla/focus.git
$ cd focus
$ ./checkout.sh
$ cd Lists
This delivers several JSON formatted files, of which we are going to use disconnect-advertising.json
. We'll filter out the good bits using jq
, and create a Lua representation:
(