[epiphany/mcatanzaro/settings-cleanup-2: 10/12] Remove obsolete do-not-track setting



commit 7f9b4ec85b0b4e152753d524f3efbb22ac8b67ca
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Dec 16 21:19:54 2019 -0600

    Remove obsolete do-not-track setting
    
    This used to be used to enable DNT header and tracking query removal.
    
    We removed DNT header because it only serves to increase entropy and
    make users more trackable. Then we stopped checking this setting and
    started doing tracking query removal always. (Follow-up will be to
    remove this code altogether, once we enable Intelligent Tracking
    Prevention.)
    
    So now this setting is unused. I thought I had removed it already, but
    apparently forgot to do so.

 data/org.gnome.epiphany.gschema.xml | 5 -----
 lib/ephy-prefs.h                    | 2 --
 2 files changed, 7 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 01d691a43..bbd13eaf0 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -185,11 +185,6 @@
                        <summary>Mobile user agent</summary>
                        <description>Whether to present a mobile user agent. If the user agent is overridden, 
this will have no effect.</description>
                </key>
-               <key type="b" name="do-not-track">
-                       <default>true</default>
-                       <summary>Do Not Track</summary>
-                       <description>Enables tracking query parameter removal.</description>
-               </key>
                <key type="b" name="enable-adblock">
                        <default>true</default>
                        <summary>Enable adblock</summary>
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 269c31e9d..cbd954b9f 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -114,7 +114,6 @@ static const char * const ephy_prefs_state_schema[] = {
 #define EPHY_PREFS_WEB_MOBILE_USER_AGENT            "mobile-user-agent"
 #define EPHY_PREFS_WEB_COOKIES_POLICY               "cookies-policy"
 #define EPHY_PREFS_WEB_DEFAULT_ENCODING             "default-encoding"
-#define EPHY_PREFS_WEB_DO_NOT_TRACK                 "do-not-track"
 #define EPHY_PREFS_WEB_ENABLE_ADBLOCK               "enable-adblock"
 #define EPHY_PREFS_WEB_REMEMBER_PASSWORDS           "remember-passwords"
 #define EPHY_PREFS_WEB_ENABLE_SITE_SPECIFIC_QUIRKS  "enable-site-specific-quirks"
@@ -146,7 +145,6 @@ static const char * const ephy_prefs_web_schema[] = {
   EPHY_PREFS_WEB_MOBILE_USER_AGENT,
   EPHY_PREFS_WEB_COOKIES_POLICY,
   EPHY_PREFS_WEB_DEFAULT_ENCODING,
-  EPHY_PREFS_WEB_DO_NOT_TRACK,
   EPHY_PREFS_WEB_ENABLE_ADBLOCK,
   EPHY_PREFS_WEB_REMEMBER_PASSWORDS,
   EPHY_PREFS_WEB_ENABLE_SITE_SPECIFIC_QUIRKS,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]