Debian Codegraph @

cleaners/palemoon.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="palemoon">
24 <label>Pale Moon</label>
25 <description>Web browser</description>
26 <running type="exe" os="unix" same_user="true">palemoon</running>
27 <running type="exe" os="windows" same_user="true">palemoon.exe</running>
28 <running type="pathname">~/.moonchild productions/pale moon/*/lock</running>
29 <var name="base">
30 <value os="windows">%AppData%\moonchild productions\pale moon</value>
31 <value os="linux">~/.moonchild productions/pale moon</value>
32 <value os="freebsd">~/.moonchild productions/pale moon</value>
33 <value os="openbsd">~/.moonchild productions/pale moon</value>
34 </var>
35 <var name="profile">
36 <value search="glob" os="windows">%AppData%\moonchild productions\pale moon\Profiles\*</value>
37 <value search="glob" os="linux">~/.moonchild productions/pale moon/*</value>
38 <value search="glob" os="freebsd">~/.moonchild productions/pale moon/*</value>
39 <value search="glob" os="openbsd">~/.moonchild productions/pale moon/*</value>
40 </var>
41 <option id="backup">
42 <label>Backup files</label>
43 <description>Delete the backup files</description>
44 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.json"/>
45 <action command="delete" search="glob" path="$$profile$$/bookmarkbackups/*.jsonlz4"/>
46 </option>
47 <option id="cache">
48 <label>Cache</label>
49 <description>Delete the cache</description>
50 <action command="delete" search="walk.all" path="~/.cache/moonchild productions/"/>
51 <action command="delete" search="walk.all" path="%LocalAppData%\moonchild productions\pale moon\Profiles\*\cache2"/>
52 <action command="delete" search="walk.all" path="%LocalAppData%\moonchild productions\pale moon\Profiles\*\jumpListCache"/>
53 <action command="delete" search="walk.all" path="%LocalAppData%\moonchild productions\pale moon\Profiles\*\OfflineCache"/>
54 </option>
55 <option id="cookies">
56 <label>Cookies</label>
57 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
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.sqlite"/>
70 </option>
71 <option id="passwords">
72 <label>Passwords</label>
73 <description>A database of usernames and passwords as well as a list of sites that should not store passwords</description>
74 <warning>This option will delete your saved passwords.</warning>
75 <action command="delete" search="file" path="$$profile$$/logins.json"/>
76 </option>
77 <option id="session">
78 <label>Session</label>
79 <description>Previously open tabs and windows</description>
80 <!--
81 example names
82 sessionstore.js
83 sessionstore.jsonlz4
84 sessionstore.bak
85 sessionstore.bak-20140715214327
86 sessionstore-1.js
87 upgrade.jsonlz4-20180905220717
88 sessionCheckpoints.json
89 -->
90 <action command="delete" search="file" path="$$profile$$/sessionCheckpoints.json"/>
91 <action command="delete" search="glob" path="$$profile$$/sessionstore*.js*"/>
92 <action command="delete" search="glob" path="$$profile$$/sessionstore.bak*"/>
93 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/previous.js*"/>
94 <action command="delete" search="file" path="$$profile$$/sessionstore-backups/recovery.js"/>
95 <action command="delete" search="file" path="$$profile$$/sessionstore-backups/previous.bak"/>
96 <action command="delete" search="glob" path="$$profile$$/sessionstore-backups/upgrade.js*-20*"/>
97 </option>
98 <option id="site_data">
99 <label>Site data</label>
100 <description>Delete LocalStorage, IndexedDB, and other data stored by websites</description>
101 <action command="delete" search="walk.all" path="$$profile$$/storage/default/http*"/>
102 <action command="delete" search="walk.all" path="$$profile$$/storage/temporary/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$$/webappsstore.sqlite-shm"/>
106 <action command="delete" search="file" path="$$profile$$/webappsstore.sqlite-wal"/>
107 </option>
108 <option id="site_preferences">
109 <label>Site preferences</label>
110 <description>Settings for individual sites</description>
111 <action command="delete" search="file" path="$$profile$$/content-prefs.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$$/SiteSecurityServiceState.txt"/>
117 <action command="delete" search="file" path="$$profile$$/downloads.sqlite"/>
118 <action command="mozilla.url.history" search="file" path="$$profile$$/places.sqlite"/>
119 </option>
120 <option id="vacuum">
121 <label>Vacuum</label>
122 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
123 <action command="sqlite.vacuum" search="glob" path="$$profile$$/*.sqlite"/>
124 </option>
125 </cleaner>