Debian Codegraph @

cleaners/microsoft_edge.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="microsoft_edge">
12 <label>Microsoft Edge</label>
13 <description>Web browser</description>
14 <running type="exe" os="windows" same_user="true">msedge.exe</running>
15 <running type="exe" os="linux" same_user="true">msedge</running>
16 <var name="base">
17 <value os="windows">%LocalAppData%\Microsoft\Edge\User Data</value>
18 <value os="linux">$XDG_CONFIG_HOME/microsoft-edge-beta</value>
19 <value os="linux">$XDG_CONFIG_HOME/microsoft-edge</value>
20 </var>
21 <var name="profile">
22 <value os="windows">%LocalAppData%\Microsoft\Edge\User Data\Default</value>
23 <value search="glob" os="windows">%LocalAppData%\Microsoft\Edge\User Data\Profile *</value>
24 <value os="linux">$XDG_CONFIG_HOME/microsoft-edge-beta/Default</value>
25 <value search="glob" os="linux">$XDG_CONFIG_HOME/microsoft-edge-beta/Profile *</value>
26 <value os="linux">$XDG_CONFIG_HOME/microsoft-edge/Default</value>
27 <value search="glob" os="linux">$XDG_CONFIG_HOME/microsoft-edge/Profile *</value>
28 </var>
29 <option id="cache">
30 <label>Cache</label>
31 <description>Delete the web cache, which reduces time to display revisited pages</description>
32 <action command="delete" search="walk.all" path="$$base$$/component_crx_cache"/>
33 <action command="delete" search="walk.all" path="$$base$$/extensions_crx_cache"/>
34 <action command="delete" search="walk.all" path="$$base$$/GraphiteDawnCache"/>
35 <action command="delete" search="walk.all" path="$$base$$/ShaderCache"/>
36 <action command="delete" search="walk.all" path="$$base$$/GrShaderCache"/>
37 <action command="delete" search="file" path="$$profile$$/Network Persistent State"/>
38 <action command="delete" search="file" path="$$profile$$/Network/Network Persistent State"/>
39 <action command="delete" search="walk.all" path="$$profile$$/GPUCache/"/>
40 <action command="delete" search="walk.all" path="$$profile$$/Storage/ext/*/*def/GPUCache"/>
41 <!-- Windows-specific -->
42 <action command="delete" search="glob" path="$$base$$\B*.tmp"/>
43 <action command="delete" search="walk.all" path="$$profile$$\Default\Application Cache\"/>
44 <action command="delete" search="walk.all" path="$$profile$$\Cache\"/>
45 <!-- Linux stores the Code Cache under ~/.cache/ , so it doesn't need an extra rule -->
46 <action command="delete" search="walk.all" path="$$profile$$\Code Cache\"/>
47 <action command="delete" search="walk.all" path="$$profile$$\Media Cache\"/>
48 </option>
49 <option id="cookies">
50 <label>Cookies</label>
51 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
52 <action command="cookie" search="file" path="$$profile$$/Cookies"/>
53 <action command="delete" search="file" path="$$profile$$/Cookies-journal"/>
54 <action command="cookie" search="file" path="$$profile$$/Network/Cookies"/>
55 <action command="delete" search="file" path="$$profile$$/Network/Cookies-journal"/>
56 <action command="cookie" search="file" path="$$profile$$/Extension Cookies"/>
57 <action command="delete" search="file" path="$$profile$$/Extension Cookies-journal"/>
58 <action command="delete" search="file" path="$$profile$$/TransportSecurity"/>
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 </option>
65 <option id="form_history">
66 <label>Form history</label>
67 <description>A history of forms entered in websites</description>
68 <action command="chrome.autofill" search="file" path="$$profile$$/Web Data"/>
69 </option>
70 <option id="history">
71 <label>History</label>
72 <description>Delete the history which includes visited sites, downloads, and thumbnails</description>
73 <!-- keep /History before /Favicons -->
74 <action command="chrome.history" search="file" path="$$profile$$/History"/>
75 <action command="chrome.favicons" search="file" path="$$profile$$/Favicons"/>
76 <action command="delete" search="file" path="$$base$$/chrome_shutdown_ms.txt"/>
77 <action command="delete" search="file" path="$$base$$/Safe Browsing Cookies-journal"/>
78 <action command="delete" search="file" path="$$profile$$/Archived History-journal"/>
79 <action command="delete" search="file" path="$$profile$$/Archived History"/>
80 <action command="delete" search="file" path="$$profile$$/DownloadMetadata"/>
81 <action command="delete" search="file" path="$$profile$$/DIPS"/>
82 <action command="delete" search="file" path="$$profile$$/History Provider Cache"/>
83 <action command="delete" search="file" path="$$profile$$/History-journal"/>
84 <action command="delete" search="file" path="$$profile$$/MediaDeviceSalts-journal"/>
85 <action command="delete" search="file" path="$$profile$$/MediaDeviceSalts"/>
86 <action command="delete" search="file" path="$$profile$$/Network Action Predictor-journal"/>
87 <action command="delete" search="file" path="$$profile$$/Network Action Predictor"/>
88 <action command="delete" search="file" path="$$profile$$/Origin Bound Certs-journal"/>
89 <action command="delete" search="file" path="$$profile$$/Reporting and NEL-journal"/>
90 <action command="delete" search="file" path="$$profile$$/Reporting and NEL"/>
91 <action command="delete" search="file" path="$$profile$$/Shortcuts-journal"/>
92 <action command="delete" search="file" path="$$profile$$/Shortcuts"/>
93 <action command="delete" search="glob" path="$$profile$$/History Index ????-??-journal"/>
94 <action command="delete" search="glob" path="$$profile$$/History Index ????-??"/>
95 <!-- Before about January 2016 Thumbnails was an SQLite file, by Google Chrome 48 it is a folder -->
96 <action command="delete" search="file" path="$$profile$$/Thumbnails"/>
97 <action command="delete" search="walk.files" path="$$profile$$/Thumbnails"/>
98 <action command="delete" search="file" path="$$profile$$/Thumbnails-journal"/>
99 <action command="delete" search="file" path="$$profile$$/Top Sites-journal"/>
100 <action command="delete" search="file" path="$$profile$$/Top Sites"/>
101 <action command="delete" search="file" path="$$profile$$/Visited Links"/>
102 <action command="json" search="file" path="$$profile$$/Preferences" address="zerosuggest/cachedresults"/>
103 <action command="json" search="file" path="$$profile$$/Preferences" address="zerosuggest/cachedresults_with_url"/>
104 <!-- Windows-specific -->
105 <action command="delete" search="walk.files" path="$$profile$$\JumpListIconsMostVisited\"/>
106 <action command="delete" search="walk.files" path="$$profile$$\JumpListIconsOld\"/>
107 <action command="delete" search="walk.files" path="$$profile$$\JumpListIconsRecentClosed\"/>
108 <action command="delete" search="walk.files" path="$$profile$$\JumpListIcons\"/>
109 </option>
110 <option id="search_engines">
111 <label>Search engines</label>
112 <description translators="'Factory' means a search engine that is installed by default 'from the factory,' but this is different than a 'default search engine' https://lists.launchpad.net/launchpad-translators/msg00283.html">Reset the search engine usage history and delete non-factory search engines, some of which are added automatically</description>
113 <action command="chrome.keywords" search="file" path="$$profile$$/Web Data"/>
114 </option>
115 <option id="session">
116 <label>Session</label>
117 <description>Previously open tabs and windows</description>
118 <action command="delete" search="walk.all" path="$$profile$$/Sessions"/>
119 </option>
120 <option id="site_data">
121 <label>Site data</label>
122 <description>Delete LocalStorage, IndexedDB, and other data stored by websites</description>
123 <action command="chrome.databases_db" search="file" path="$$profile$$/databases/Databases.db"/>
124 <action command="delete" search="walk.all" path="$$profile$$/File System"/>
125 <action command="delete" search="walk.all" path="$$profile$$/IndexedDB"/>
126 <action command="delete" search="walk.all" path="$$profile$$/Local Storage"/>
127 <action command="delete" search="walk.all" path="$$profile$$/Service Worker"/>
128 <action command="delete" search="walk.all" path="$$profile$$/WebStorage"/>
129 <action command="delete" search="file" path="$$profile$$/QuotaManager"/>
130 <action command="delete" search="file" path="$$profile$$/QuotaManager-journal"/>
131 <action command="delete" search="walk.all" path="$$profile$$/Extension State"/>
132 <action command="delete" search="walk.files" path="$$profile$$/Session Storage/"/>
133 </option>
134 <option id="sync">
135 <label>Sync</label>
136 <description>Delete the sync data (including web apps) and sign out of the browser</description>
137 <action command="delete" search="walk.files" path="$$profile$$/Sync Data/"/>
138 <!-- Sync Data Backup not seen in Chromium 65 -->
139 <action command="json" search="file" path="$$base$$/Local State" address="profile"/>
140 <action command="json" search="file" path="$$profile$$/Preferences" address="account_info"/>
141 <action command="json" search="file" path="$$profile$$/Preferences" address="google_services"/>
142 <action command="json" search="file" path="$$profile$$/Preferences" address="sync"/>
143 </option>
144 <option id="passwords">
145 <label>Passwords</label>
146 <description>A database of usernames and passwords as well as a list of sites that should not store passwords</description>
147 <warning>This option will delete your saved passwords.</warning>
148 <action command="delete" search="file" path="$$profile$$/Login Data"/>
149 <action command="delete" search="file" path="$$profile$$/Login Data-journal"/>
150 </option>
151 <option id="vacuum">
152 <label>Vacuum</label>
153 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
154 <action command="sqlite.vacuum" search="file" path="$$profile$$/Cookies"/>
155 <action command="sqlite.vacuum" search="file" path="$$profile$$/Network/Cookies"/>
156 <action command="sqlite.vacuum" search="file" path="$$profile$$/Extension Cookies"/>
157 <action command="sqlite.vacuum" search="file" path="$$profile$$/History"/>
158 <action command="sqlite.vacuum" search="glob" path="$$profile$$/History Index ????-??"/>
159 <action command="sqlite.vacuum" search="file" path="$$profile$$/Login Data"/>
160 <action command="sqlite.vacuum" search="file" path="$$profile$$/Origin Bound Certs"/>
161 <action command="sqlite.vacuum" search="file" path="$$profile$$/Network Action Predictor"/>
162 <action command="sqlite.vacuum" search="file" path="$$profile$$/Reporting and NEL"/>
163 <action command="sqlite.vacuum" search="file" path="$$profile$$/MediaDeviceSalts"/>
164 <action command="sqlite.vacuum" search="file" path="$$profile$$/previews_opt_out.db"/>
165 <action command="sqlite.vacuum" search="file" path="$$profile$$/QuotaManager"/>
166 <action command="sqlite.vacuum" search="file" path="$$profile$$/WebStorage/QuotaManager"/>
167 <action command="sqlite.vacuum" search="file" path="$$profile$$/Shortcuts"/>
168 <!-- Before about January 2016 Thumbnails was an SQLite file, by Google Chrome 48 it is a folder -->
169 <action command="sqlite.vacuum" search="file" path="$$profile$$/Thumbnails" type="f"/>
170 <action command="sqlite.vacuum" search="file" path="$$profile$$/Top Sites"/>
171 <action command="sqlite.vacuum" search="file" path="$$profile$$/Web Data"/>
172 <action command="sqlite.vacuum" search="file" path="$$profile$$/databases/Databases.db"/>
173 <action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/?"/>
174 <action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/??"/>
175 <action command="sqlite.vacuum" search="file" path="$$profile$$/Sync Data/SyncData.sqlite3"/>
176 </option>
177 <option id="site_preferences">
178 <label>Site preferences</label>
179 <description>Settings for individual sites</description>
180 <action command="json" search="file" path="$$profile$$/Preferences" address="profile/content_settings/exceptions"/>
181 </option>
182 </cleaner>