<!--
Copyright 2016 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
+ This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
Privacy Browser is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
android:key="privacy_settings"
android:title="@string/privacy_settings" >
- <CheckBoxPreference
+ <SwitchPreference
android:key="javascript_enabled"
android:title="@string/javascript_preference"
android:summary="@string/javascript_preference_summary"
android:defaultValue="false" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:key="first_party_cookies_enabled"
+ android:title="@string/first_party_cookies_preference"
+ android:summary="@string/first_party_cookies_preference_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="third_party_cookies_enabled"
+ android:title="@string/third_party_cookies_preference"
+ android:summary="@string/third_party_cookies_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
android:key="dom_storage_enabled"
android:title="@string/dom_storage_preference"
android:summary="@string/dom_storage_preference_summary"
android:defaultValue="false" />
-
- <CheckBoxPreference
- android:key="cookies_enabled"
- android:title="@string/cookies_preference"
- android:summary="@string/cookies_preference_summary"
- android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
<EditTextPreference
android:key="homepage"
android:title="@string/homepage_preference"
- android:summary="@string/homepage_preference_summary"
- android:defaultValue="https://www.duckduckgo.com" />
+ android:defaultValue="https://www.duckduckgo.com"
+ android:inputType="textUri"
+ android:singleLine="true" />
</PreferenceCategory>
</PreferenceScreen>
\ No newline at end of file