1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright 2022-2024 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
8 Privacy Browser PC is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser PC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>. -->
22 <!-- The name of the generated class. -->
23 <class>PrivacySettings</class>
25 <widget class="QWidget">
26 <layout class="QFormLayout">
28 <item row="0" column="1">
29 <widget class="QCheckBox" name="kcfg_javaScriptEnabled">
30 <property name="text">
31 <string>JavaScript</string>
34 <property name="toolTip">
35 <string>JavaScript allows websites to run programs (scripts) on the device. The default is disabled.</string>
41 <item row="1" column="1">
42 <widget class="QCheckBox" name="kcfg_localStorageEnabled">
43 <property name="text">
44 <string>Local storage</string>
47 <property name="toolTip">
48 <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>
54 <item row="2" column="1">
55 <widget class="QCheckBox" name="kcfg_domStorageEnabled">
56 <property name="text">
57 <string>DOM storage</string>
60 <property name="toolTip">
61 <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>
64 <!-- Initially disable DOM storage. -->
65 <property name="enabled">
72 <item row="3" column="0">
73 <widget class="QLabel">
74 <property name="text">
75 <string>User agent</string>
78 <property name="toolTip">
79 <string>The user agent identifies the browser to the web server. It serves no useful purpose, but many web servers refuse to return the web page if they don't see a user agent they like. The default is Privacy Browser.</string>
84 <item row="3" column="1">
85 <widget class="QComboBox" name="kcfg_userAgent">
86 <property name="sizePolicy">
87 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
88 <horstretch>0</horstretch>
89 <verstretch>0</verstretch>
93 <property name="editable">
98 <property name="text">
99 <string>Privacy Browser</string>
104 <property name="text">
105 <string>WebEngine Default</string>
110 <property name="text">
111 <string>Firefox Linux</string>
116 <property name="text">
117 <string>Chromium Linux</string>
122 <property name="text">
123 <string>Firefox Windows</string>
128 <property name="text">
129 <string>Chrome Windows</string>
134 <property name="text">
135 <string>Edge Windows</string>
140 <property name="text">
141 <string>Safari macOS</string>
147 <item row="4" column="1">
148 <widget class="QLabel" name="userAgentLabel">
149 <property name="textInteractionFlags">
150 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>