summaryrefslogtreecommitdiff
path: root/src/resources/gtk
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-07-19 12:35:31 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-07-21 20:14:04 +0000
commit19f42f37d80de7bc4c6b08475f71026b26c60fea (patch)
tree61e994a0ec4bfb387de57d18e7613511dc3b23f5 /src/resources/gtk
parente5b76264d4f6e523f0471a382601462dc61acc3e (diff)
downloadepiphany-19f42f37d80de7bc4c6b08475f71026b26c60fea.tar.gz
Add setting to disable website data storage
This will block access to cookies, localStorage, and IndexedDB. That is, it will finally do what users who previously disabled cookies *actually* wanted to do. This is our replacement for the previous tri-state cookie policy, which no longer makes sense now that we have ITP.
Diffstat (limited to 'src/resources/gtk')
-rw-r--r--src/resources/gtk/prefs-privacy-page.ui21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/resources/gtk/prefs-privacy-page.ui b/src/resources/gtk/prefs-privacy-page.ui
index 562632ede..9580cda42 100644
--- a/src/resources/gtk/prefs-privacy-page.ui
+++ b/src/resources/gtk/prefs-privacy-page.ui
@@ -26,6 +26,12 @@
</child>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="HdyPreferencesGroup">
+ <property name="title" translatable="yes">Web Tracking</property>
+ <property name="visible">True</property>
<child>
<object class="HdyActionRow">
<property name="activatable_widget">enable_itp_switch</property>
@@ -40,6 +46,21 @@
</child>
</object>
</child>
+ <child>
+ <object class="HdyActionRow">
+ <property name="activatable_widget">enable_website_data_storage_switch</property>
+ <property name="subtitle" translatable="yes">Allow websites to store cookies, databases, and local storage data.</property>
+ <property name="title" translatable="yes">_Website Data Storage</property>
+ <property name="use_underline">True</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkSwitch" id="enable_website_data_storage_switch">
+ <property name="valign">center</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
<child>