From c1e663ff0310c87427d4ed6806a2c66d7f30caaf Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 27 Jun 2014 02:06:50 -0400 Subject: [PATCH] this fixes #20 and #21 --- assets/ublock/filters.txt | 4 ++++ js/background.js | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 assets/ublock/filters.txt diff --git a/assets/ublock/filters.txt b/assets/ublock/filters.txt new file mode 100644 index 000000000..4f675455a --- /dev/null +++ b/assets/ublock/filters.txt @@ -0,0 +1,4 @@ +# Needed to unbreak sites affected by out of the box lists + +# https://github.com/gorhill/uBlock/issues/20 => blocking counterpart in Peter Lowe's Ad Server +@@||www.google-analytics.com/ga.js^$domain=xda-developers.com diff --git a/js/background.js b/js/background.js index 7974539f9..1f86ac27d 100644 --- a/js/background.js +++ b/js/background.js @@ -49,6 +49,11 @@ return { // User 'assets/user/filters.txt': {}, + // uBlock + 'assets/ublock/filters.txt': { + title: "µBlock filters" + }, + // 3rd-party lists fetched dynamically },