[epiphany] Get default adblock filters straight from EasyList
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Get default adblock filters straight from EasyList
- Date: Sun, 22 Jan 2017 23:55:46 +0000 (UTC)
commit d2fc9b8016297dea7eb39ac181a13ce3037c5205
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Jan 22 12:37:20 2017 -0600
Get default adblock filters straight from EasyList
Instead of using the Adblock Plus version of the file, since we are
going to be exposing more filters from EasyList
data/org.gnome.epiphany.gschema.xml | 2 +-
lib/ephy-uri-tester-shared.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 1a51888..1c5f291 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -186,7 +186,7 @@
<description>Whether to block the embedded advertisements that web pages might want
to show.</description>
</key>
<key type="as" name="adblock-filters">
- <default>['https://easylist-downloads.adblockplus.org/easylist.txt']</default>
+ <default>['https://easylist.to/easylist/easylist.txt']</default>
<summary>List of adblock filters</summary>
<description>List of URLs with filter rules to be used by the adblock.</description>
</key>
diff --git a/lib/ephy-uri-tester-shared.h b/lib/ephy-uri-tester-shared.h
index 1badc03..345f62e 100644
--- a/lib/ephy-uri-tester-shared.h
+++ b/lib/ephy-uri-tester-shared.h
@@ -24,7 +24,7 @@
G_BEGIN_DECLS
-#define ADBLOCK_DEFAULT_FILTER_URL "https://easylist-downloads.adblockplus.org/easylist.txt"
+#define ADBLOCK_DEFAULT_FILTER_URL "https://easylist.to/easylist/easylist.txt"
GFile *ephy_uri_tester_get_adblock_filter_file (const char *adblock_data_dir,
const char *filter_url);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]