Debian Codegraph @

cleaners/librewolf.xml

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