Debian Codegraph @

cleaners/zen.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 BleachBit
5 Copyright (C) 2008-2025 Andrew Ziem
6 https://www.bleachbit.org
7
8 This program 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.
12
13 This program 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.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21
22 -->
23 <cleaner id="zen">
24 <label>Zen</label>
25 <description>Web browser</description>
26 <running type="exe" os="unix" same_user="true">zen-browser</running>
27 <running type="exe" os="windows" same_user="true">zen-browser.exe</running>
28 <running type="pathname">~/.zen/*.default/lock</running>
29 <running type="pathname">~/snap/zen/common/.zen/*.default/lock</running>
30 <running type="pathname">~/.var/app/app.zen_browser.zen/.zen/*.default*/lock</running>
31 <var name="base">
32 <value os="windows">%AppData%\Zen</value>
33 <value os="linux">~/.zen</value>
34 <value os="linux">~/snap/zen/common/.zen</value>
35 <value os="linux">~/.var/app/app.zen_browser.zen/.zen</value>
36 <value os="freebsd">~/.zen</value>
37 <value os="openbsd">~/.zen</value>
38 </var>
39 <var name="profile">
40 <value search="glob" os="windows">%AppData%\Zen\Profiles\*</value>
41 <value search="glob" os="linux">~/.zen/*</value>
42 <value search="glob" os="linux">~/snap/zen/common/.zen/*</value>
43 <value search="glob" os="linux">~/.var/app/app.zen_browser.zen/.zen/*</value>
44 <value search="glob" os="freebsd">~/.zen/*</value>
45 <value search="glob" os="openbsd">~/.zen/*</value>
46 </var>
47 <option id="backup">
48 <label>Backup files</label>
49 <description>Delete the backup files</description>
50 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.json"/>
51 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.jsonlz4"/>
52 </option>
53 <option id="cache">
54 <label>Cache</label>
55 <description>Delete the cache</description>
56 <!--
57 This Linux path is whitelisted under the System - Cache cleaner, so it is not
58 redundant. Also, this Linux path contains the cache2 and OfflineCache directories.
59 -->
60 <action command="delete" search="walk.all" path="~/.cache/zen/"/>
61 <action command="delete" search="walk.all" path="~/snap/zen/common/.zen/mozilla/"/>
62 <action command="delete" search="walk.all" path="~/.var/app/app.zen_browser.zen/cache/zen/"/>
63 <action command="delete" search="walk.all" path="%LocalAppData%\Zen\Profiles\*\cache2"/>
64 <action command="delete" search="walk.all" path="%LocalAppData%\Zen\Profiles\*\jumpListCache"/>
65 <action command="delete" search="walk.all" path="%LocalAppData%\Zen\Profiles\*\OfflineCache"/>
66 <!--
67 This file no longer exists in Firefox <=62
68
69 Necko Predictive Network Actions
70 https://wiki.mozilla.org/Privacy/Reviews/Necko
71 -->
72 <action command="delete" search="file" path="$$profile$$/netpredictions.sqlite"/>
73 </option>
74 <option id="cookies">
75 <label>Cookies</label>
76 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
77 <action command="delete" search="file" path="$$profile$$/cookies.txt"/>
78 <action command="cookie" search="file" path="$$profile$$/cookies.sqlite"/>
79 </option>
80 <option id="crash_reports">
81 <label>Crash reports</label>
82 <description>Delete the files</description>
83 <action command="delete" search="walk.all" path="$$base$$/Crash Reports/"/>
84 <action command="delete" search="glob" path="$$profile$$/minidumps/*.dmp"/>
85 </option>
86 <option id="forms">
87 <label>Form history</label>
88 <description>Saved form entries and search bar history</description>
89 <action command="delete" search="file" path="$$profile$$/formhistory.dat"/>
90 <action command="delete" search="file" path="$$profile$$/formhistory.sqlite"/>
91 </option>
92 <option id="passwords">
93 <label>Passwords</label>
94 <description>A database of usernames and passwords as well as a list of sites that should not store passwords</description>
95 <warning>This option will delete your saved passwords.</warning>
96 <!-- http://kb.mozillazine.org/Password_Manager -->
97 <action command="delete" search="file" path="$$profile$$/signons.txt"/>
98 <action command="delete" search="file" path="$$profile$$/signons2.txt"/>
99 <action command="delete" search="file" path="$$profile$$/signons3.txt"/>
100 <action command="delete" search="file" path="$$profile$$/signons.sqlite"/>
101 <action command="delete" search="file" path="$$profile$$/logins.json"/>
102 </option>
103 <option id="session">
104 <label>Session</label>
105 <description>Previously open tabs and windows</description>
106 <!--
107 example names
108 sessionstore.js
109 sessionstore.jsonlz4
110 sessionstore.bak
111 sessionstore.bak-20140715214327
112 sessionstore-1.js
113 upgrade.jsonlz4-20180905220717
114 sessionCheckpoints.json
115 sessionstore-backups/recovery.bak
116 sessionstore-backups/recovery.baklz4
117 sessionstore-backups/recovery.js
118 sessionstore-backups/recovery.jsonlz4
119 -->
120 <action command="delete" search="file" path="$$profile$$/sessionCheckpoints.json"/>
121 <action command="delete" search="glob" path="$$profile$$/sessionstore*.js*"/>
122 <action command="delete" search="glob" path="$$profile$$/sessionstore.bak*"/>
123 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/previous.js*"/>
124 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/recovery.js*"/>
125 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/recovery.bak*"/>
126 <action command="delete" search="file" path="$$profile$$/sessionstore-backups/previous.bak"/>
127 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/upgrade.js*-20*"/>
128 </option>
129 <option id="site_data">
130 <label>Site data</label>
131 <description>Delete LocalStorage, IndexedDB, and other data stored by websites</description>
132 <action command="delete" search="walk.all" path="$$profile$$/storage/default/http*"/>
133 <action command="delete" search="glob" path="$$profile$$/storage/default/http*"/>
134 <action command="delete" search="file" path="$$profile$$/webappsstore.sqlite"/>
135 </option>
136 <option id="site_preferences">
137 <label>Site preferences</label>
138 <description>Settings for individual sites</description>
139 <action command="delete" search="file" path="$$profile$$/content-prefs.sqlite"/>
140 </option>
141 <option id="url_history">
142 <label>URL history</label>
143 <description>List of visited web pages</description>
144 <action command="delete" search="file" path="$$profile$$/SiteSecurityServiceState.txt"/>
145 <action command="delete" search="file" path="$$profile$$/SiteSecurityServiceState.bin"/>
146 <action command="delete" search="walk.all" path="%LocalAppData%\Zen\Profiles\*\thumbnails"/>
147 <!-- Firefox versions 1 and 2 -->
148 <action command="delete" search="file" path="$$profile$$/history.dat"/>
149 <action command="delete" search="file" path="$$profile$$/downloads.rdf"/>
150 <!-- Firefox 3 introduced downloads.sqlite and places.sqlite -->
151 <action command="delete" search="file" path="$$profile$$/downloads.sqlite"/>
152 <action command="mozilla.url.history" search="file" path="$$profile$$/places.sqlite"/>
153 <!-- Firefox 78 (or probably some previous version) moved icons from places.sqlite to favicons.sqlite -->
154 <action command="mozilla.favicons" search="file" path="$$profile$$/favicons.sqlite"/>
155 <!-- Firefox 108 has alternative services with visited domains -->
156 <action command="delete" search="file" path="$$profile$$/AlternateServices.txt"/>
157 </option>
158 <option id="vacuum">
159 <label>Vacuum</label>
160 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
161 <action command="sqlite.vacuum" search="glob" path="$$profile$$/*.sqlite"/>
162 </option>
163 </cleaner>