From 9309df4196cbe1a30b7b8f7cc88dd67aac3c151c Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 22 Jan 2017 16:05:16 -0500 Subject: [PATCH] 3rd-party filters pane revisited --- assets/assets.json | 11 +- src/3p-filters.html | 37 +++--- src/css/3p-filters.css | 131 ++++++++++++------- src/js/3p-filters.js | 217 ++++++++++++++++++-------------- src/js/assets.js | 10 +- src/js/background.js | 1 + src/js/messaging.js | 22 ++-- src/js/scriptlets/subscriber.js | 40 +----- src/js/storage.js | 204 ++++++++++++++++++++---------- src/js/ublock.js | 3 - 10 files changed, 394 insertions(+), 282 deletions(-) diff --git a/assets/assets.json b/assets/assets.json index 7b361c3cf..24bc1f473 100644 --- a/assets/assets.json +++ b/assets/assets.json @@ -30,7 +30,8 @@ "contentURL": [ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt", "assets/ublock/filters.txt" - ] + ], + "supportURL": "https://github.com/uBlockOrigin/uAssets/issues" }, "ublock-badware": { "content": "filters", @@ -196,7 +197,11 @@ "group": "social", "off": true, "title": "Anti-ThirdpartySocial (see warning inside list)", - "contentURL": "https://www.fanboy.co.nz/fanboy-antifacebook.txt", + "contentURL": [ + "https://easylist.to/easylist/fanboy-social.txt", + "https://fanboy.co.nz/fanboy-antifacebook.txt", + "https://easylist-downloads.adblockplus.org/fanboy-social.txt" + ], "supportURL": "https://forums.lanik.us/" }, "fanboy-annoyance": { @@ -206,6 +211,7 @@ "title": "Fanboy’s Annoyance List", "contentURL": [ "https://easylist.to/easylist/fanboy-annoyance.txt", + "https://fanboy.co.nz/fanboy-annoyance.txt", "https://easylist-downloads.adblockplus.org/fanboy-annoyance.txt" ], "supportURL": "https://forums.lanik.us/" @@ -217,6 +223,7 @@ "title": "Fanboy’s Social Blocking List", "contentURL": [ "https://easylist.to/easylist/fanboy-social.txt", + "https://fanboy.co.nz/fanboy-social.txt", "https://easylist-downloads.adblockplus.org/fanboy-social.txt" ], "supportURL": "https://forums.lanik.us/" diff --git a/src/3p-filters.html b/src/3p-filters.html index 48086f71f..d35910399 100644 --- a/src/3p-filters.html +++ b/src/3p-filters.html @@ -21,24 +21,19 @@
  • - -
  • +
  • +
    +

    -

    - - -

    -

    - -

    -
    +

    + + + +