diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-05 15:05:22 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-05 15:05:22 +0200 |
commit | 9089047b0f5fac8a394ef0b4c8822ce5c7483212 (patch) | |
tree | 9b5307ee66c08492ae4d79d150e6b4ac71fb677d /test | |
parent | Merge branch 'master' of ssh://bitbucket.org/xiannox/smolbote (diff) | |
download | smolbote-9089047b0f5fac8a394ef0b4c8822ce5c7483212.tar.xz |
Changed the filter format
Diffstat (limited to 'test')
-rw-r--r-- | test/filter.json | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/test/filter.json b/test/filter.json index dc4c55b..d52efe7 100644 --- a/test/filter.json +++ b/test/filter.json @@ -1,13 +1,15 @@ { "name": "Poi Test Filter List", - "url": "todo.url", - "rules": [ - { - "firstPartyUrl": "duckduckgo.com", - "requestUrl": "css", - "allowTypes": ["Stylesheet"], - "blockTypes": [], - "shouldBlock": true + "url": "https://neueland.iserlohn-fortress.net/filter.json", + "rules": { + "": { + "google-analytics.com": true, + "js-agent.newrelic.com": true, + "js": true + }, + "duckduckgo.com": { + "css": false, + "js": false } - ] + } } |