Debian Codegraph @

cleaners/waterfox.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 SPDX-License-Identifier: GPL-3.0-or-later
5 Copyright (c) 2008-2026 Andrew Ziem.
6
7 This work is licensed under the terms of the GNU GPL, version 3 or
8 later. See the COPYING file in the top-level directory.
9
10 -->
11 <cleaner id="waterfox">
12 <label>Waterfox</label>
13 <description>Web browser</description>
14 <running type="exe" os="unix" same_user="true">waterfox</running>
15 <running type="exe" os="unix" same_user="true">waterfox-bin</running>
16 <running type="exe" os="windows" same_user="true">waterfox.exe</running>
17 <running type="pathname">~/.waterfox/*.default/lock</running>
18 <var name="base">
19 <value os="windows">%AppData%\Waterfox</value>
20 <value os="unix">~/.waterfox</value>
21 <value os="linux">~/.var/app/net.waterfox.waterfox/.waterfox</value>
22 </var>
23 <var name="profile">
24 <value search="glob" os="windows">%AppData%\Waterfox\Profiles\*</value>
25 <value search="glob" os="unix">~/.waterfox/*</value>
26 <value search="glob" os="linux">~/.var/app/net.waterfox.waterfox/.waterfox/*</value>
27 </var>
28 <option id="backup">
29 <label>Backup files</label>
30 <description>Delete the backup files</description>
31 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.json"/>
32 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.jsonlz4"/>
33 </option>
34 <option id="cache">
35 <label>Cache</label>
36 <description>Delete the cache</description>
37 <!--
38 This Linux path is whitelisted under the System - Cache cleaner, so it is not
39 redundant. Also, this Linux path contains the cache2 and OfflineCache directories.
40 -->
41 <action command="delete" search="walk.all" path="~/.cache/waterfox/"/>
42 <action command="delete" search="walk.all" path="~/.var/app/net.waterfox.waterfox/cache"/>
43 <action command="delete" search="walk.all" path="%LocalAppData%\Waterfox\Profiles\*\cache2"/>
44 <action command="delete" search="walk.all" path="%LocalAppData%\Waterfox\Profiles\*\jumpListCache"/>
45 <action command="delete" search="walk.all" path="%LocalAppData%\Waterfox\Profiles\*\OfflineCache"/>
46 <!--
47 This file no longer exists in Firefox <=62
48
49 Necko Predictive Network Actions
50 https://wiki.mozilla.org/Privacy/Reviews/Necko
51 -->
52 <action command="delete" search="file" path="$$profile$$/netpredictions.sqlite"/>
53 </option>
54 <option id="cookies">
55 <label>Cookies</label>
56 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
57 <action command="delete" search="file" path="$$profile$$/cookies.txt"/>
58 <action command="cookie" search="file" path="$$profile$$/cookies.sqlite"/>
59 </option>
60 <option id="crash_reports">
61 <label>Crash reports</label>
62 <description>Delete the files</description>
63 <action command="delete" search="walk.all" path="$$base$$/Crash Reports/"/>
64 <action command="delete" search="glob" path="$$profile$$/minidumps/*.dmp"/>
65 </option>
66 <option id="forms">
67 <label>Form history</label>
68 <description>Saved form entries and search bar history</description>
69 <action command="delete" search="file" path="$$profile$$/formhistory.dat"/>
70 <action command="delete" search="file" path="$$profile$$/formhistory.sqlite"/>
71 </option>
72 <option id="passwords">
73 <label>Passwords</label>
74 <description>A database of usernames and passwords as well as a list of sites that should not store passwords</description>
75 <warning>This option will delete your saved passwords.</warning>
76 <!-- http://kb.mozillazine.org/Password_Manager -->
77 <action command="delete" search="file" path="$$profile$$/signons.txt"/>
78 <action command="delete" search="file" path="$$profile$$/signons2.txt"/>
79 <action command="delete" search="file" path="$$profile$$/signons3.txt"/>
80 <action command="delete" search="file" path="$$profile$$/signons.sqlite"/>
81 <action command="delete" search="file" path="$$profile$$/logins.json"/>
82 </option>
83 <option id="session">
84 <label>Session</label>
85 <description>Previously open tabs and windows</description>
86 <!--
87 example names
88 sessionstore.js
89 sessionstore.jsonlz4
90 sessionstore.bak
91 sessionstore.bak-20140715214327
92 sessionstore-1.js
93 upgrade.jsonlz4-20180905220717
94 -->
95 <action command="delete" search="glob" path="$$profile$$/sessionstore*.js*"/>
96 <action command="delete" search="glob" path="$$profile$$/sessionstore.bak*"/>
97 <action command="delete" search="walk.all" path="$$profile$$/sessionstore-backups/"/>
98 </option>
99 <option id="site_data">
100 <label>Site data</label>
101 <description>Delete LocalStorage, IndexedDB, and other data stored by websites</description>
102 <action command="delete" search="walk.all" path="$$profile$$/storage/default/http*"/>
103 <action command="delete" search="glob" path="$$profile$$/storage/default/http*"/>
104 <action command="delete" search="file" path="$$profile$$/webappsstore.sqlite"/>
105 <action command="delete" search="file" path="$$profile$$/storage.sqlite"/>
106 </option>
107 <option id="site_preferences">
108 <label>Site preferences</label>
109 <description>Settings for individual sites</description>
110 <action command="delete" search="file" path="$$profile$$/content-prefs.sqlite"/>
111 <action command="delete" search="file" path="$$profile$$/permissions.sqlite"/>
112 </option>
113 <option id="url_history">
114 <label>URL history</label>
115 <description>List of visited web pages</description>
116 <action command="delete" search="file" path="$$profile$$/bounce-tracking-protection.sqlite"/>
117 <action command="delete" search="file" path="$$profile$$/SiteSecurityServiceState.txt"/>
118 <action command="delete" search="file" path="$$profile$$/SiteSecurityServiceState.bin"/>
119 <!-- Firefox versions 1 and 2 -->
120 <action command="delete" search="file" path="$$profile$$/history.dat"/>
121 <action command="delete" search="file" path="$$profile$$/downloads.rdf"/>
122 <!-- Firefox 3 introduced downloads.sqlite and places.sqlite -->
123 <action command="delete" search="file" path="$$profile$$/downloads.sqlite"/>
124 <action command="mozilla.url.history" search="file" path="$$profile$$/places.sqlite"/>
125 <action command="mozilla.favicons" search="file" path="$$profile$$/favicons.sqlite"/>
126 <action command="delete" search="file" path="$$profile$$/AlternateServices.bin"/>
127 </option>
128 <option id="vacuum">
129 <label>Vacuum</label>
130 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
131 <action command="sqlite.vacuum" search="glob" path="$$profile$$/*.sqlite"/>
132 </option>
133 </cleaner>