aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-08-05 15:05:22 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-08-05 15:05:22 +0200
commit9089047b0f5fac8a394ef0b4c8822ce5c7483212 (patch)
tree9b5307ee66c08492ae4d79d150e6b4ac71fb677d /test
parentMerge branch 'master' of ssh://bitbucket.org/xiannox/smolbote (diff)
downloadsmolbote-9089047b0f5fac8a394ef0b4c8822ce5c7483212.tar.xz
Changed the filter format
Diffstat (limited to 'test')
-rw-r--r--test/filter.json20
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
}
- ]
+ }
}