]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/uis/SettingsPrivacy.ui
Ghost DOM storage in Settings and Domain Settings unless both JavaScript and local...
[PrivacyBrowserPC.git] / src / uis / SettingsPrivacy.ui
index 6989f2a68f23c92cba5e58bf78f38421d7e1e40e..16c616e26a88200be6809ffd30ce3cacde5add89 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!--
-  Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+  Copyright 2022-2024 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
+  This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
 
   Privacy Browser PC is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 
             <!-- Cookies. -->
             <item row="1" column="1">
-                <widget class="QCheckBox" name="kcfg_cookiesEnabled">
+                <widget class="QCheckBox" name="kcfg_localStorageEnabled">
                     <property name="text">
-                        <string>Cookies</string>
+                        <string>Local storage</string>
                     </property>
 
                     <property name="toolTip">
-                        <string>Local storage includes cookies, IndexedDB, DOM storage, filesystem API, and service workers.  DOM storage also requires a separate control to be enabled.  Local storage is disabled by default.</string>
+                        <string>Local storage includes cookies, DOM storage, IndexedDB, service workers, and the filesystem API.  DOM storage also requires a separate control to be enabled.  Local storage is disabled by default.</string>
                     </property>
                 </widget>
             </item>
                     <property name="toolTip">
                         <string>DOM storage, sometimes called web storage, is like cookies on steroids.  To function, it requires that both JavaScript and local storage be enabled.  It is disabled by default.</string>
                     </property>
+
+                    <!-- Initially disable DOM storage. -->
+                    <property name="enabled">
+                        <bool>false</bool>
+                    </property>
                 </widget>
             </item>