| 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="brave"> |
| 12 |
<label>Brave</label> |
| 13 |
<description>Web browser</description> |
| 14 |
<running type="exe" os="windows" same_user="true">brave.exe</running> |
| 15 |
<running type="exe" os="linux" same_user="true">brave</running> |
| 16 |
<running type="exe" os="macos" same_user="true">Brave Browser</running> |
| 17 |
<running type="pathname" os="macos">~/Library/Application Support/BraveSoftware/Brave-Browser/SingletonLock</running> |
| 18 |
<var name="base"> |
| 19 |
<value os="windows">%LocalAppData%\BraveSoftware\Brave-Browser\User Data</value> |
| 20 |
<value os="macos">~/Library/Application Support/BraveSoftware/Brave-Browser</value> |
| 21 |
<value os="linux">$XDG_CONFIG_HOME/BraveSoftware/Brave-Browser</value> |
| 22 |
<value os="linux">~/snap/brave/current/.config/BraveSoftware/Brave-Browser</value> |
| 23 |
</var> |
| 24 |
<var name="profile"> |
| 25 |
<value os="windows">%LocalAppData%\BraveSoftware\Brave-Browser\User Data\Default</value> |
| 26 |
<value os="macos">~/Library/Application Support/BraveSoftware/Brave-Browser/Default</value> |
| 27 |
<value os="linux">$XDG_CONFIG_HOME/BraveSoftware/Brave-Browser/Default</value> |
| 28 |
<value os="linux">~/snap/brave/current/.config/BraveSoftware/Brave-Browser/Default</value> |
| 29 |
</var> |
| 30 |
<option id="cache"> |
| 31 |
<label>Cache</label> |
| 32 |
<description>Delete the web cache, which reduces time to display revisited pages</description> |
| 33 |
<action command="delete" search="file" path="$$base$$/Safe Browsing Channel IDs-journal"/> |
| 34 |
<action command="delete" search="file" path="$$profile$$/Network Persistent State"/> |
| 35 |
<action command="delete" search="walk.all" path="$$base$$/component_crx_cache"/> |
| 36 |
<action command="delete" search="walk.all" path="$$base$$/extensions_crx_cache"/> |
| 37 |
<action command="delete" search="walk.all" path="$$base$$/GraphiteDawnCache"/> |
| 38 |
<action command="delete" search="walk.all" path="$$base$$/GrShaderCache"/> |
| 39 |
<action command="delete" search="walk.all" path="$$base$$/ShaderCache"/> |
| 40 |
<action command="delete" search="walk.all" path="$$profile$$/Code Cache"/> |
| 41 |
<action command="delete" search="walk.all" path="$$profile$$/GPUCache/"/> |
| 42 |
<action command="delete" search="walk.all" path="$$profile$$/Pepper Data/Shockwave Flash/CacheWritableAdobeRoot/"/> |
| 43 |
<action command="delete" search="walk.all" path="$$profile$$/Storage/ext/*/*def/GPUCache"/> |
| 44 |
<action command="json" search="file" path="$$profile$$/Preferences" address="dns_prefetching/host_referral_list"/> |
| 45 |
<action command="json" search="file" path="$$profile$$/Preferences" address="dns_prefetching/startup_list"/> |
| 46 |
<action command="json" search="file" path="$$profile$$/Preferences" address="net/http_server_properties/servers"/> |
| 47 |
<action command="json" search="file" path="$$base$$/Local State" address="HostReferralList"/> |
| 48 |
<action command="json" search="file" path="$$base$$/Local State" address="StartupDNSPrefetchList"/> |
| 49 |
<!-- Linux-specific --> |
| 50 |
<action command="delete" search="walk.all" path="$XDG_CACHE_HOME/BraveSoftware/Brave-Browser/"/> |
| 51 |
<action command="delete" search="walk.all" path="~/snap/brave/common/.cache/BraveSoftware/"/> |
| 52 |
<action command="delete" search="walk.all" path="~/snap/brave/common/.cache/mesa_shader_cache"/> |
| 53 |
<!-- macOS-specific --> |
| 54 |
<action command="delete" search="walk.all" path="~/Library/Caches/BraveSoftware/Brave-Browser/" os="macos"/> |
| 55 |
<!-- Windows-specific --> |
| 56 |
<action command="delete" search="glob" path="$$base$$\B*.tmp"/> |
| 57 |
<action command="delete" search="walk.all" path="$$profile$$\Default\Application Cache\"/> |
| 58 |
<action command="delete" search="walk.all" path="$$profile$$\Cache\"/> |
| 59 |
<action command="delete" search="walk.all" path="$$profile$$\Media Cache\"/> |
| 60 |
</option> |
| 61 |
<option id="cookies"> |
| 62 |
<label>Cookies</label> |
| 63 |
<description>Delete cookies, which store login information, website preferences, and tracking identifiers</description> |
| 64 |
<action command="cookie" search="file" path="$$profile$$/Cookies"/> |
| 65 |
<action command="delete" search="file" path="$$profile$$/Cookies-journal"/> |
| 66 |
<action command="cookie" search="file" path="$$profile$$/Network/Cookies"/> |
| 67 |
<action command="delete" search="file" path="$$profile$$/Network/Cookies-journal"/> |
| 68 |
<action command="cookie" search="file" path="$$profile$$/Extension Cookies"/> |
| 69 |
<action command="delete" search="file" path="$$profile$$/Extension Cookies-journal"/> |
| 70 |
<action command="delete" search="file" path="$$profile$$/TransportSecurity"/> |
| 71 |
</option> |
| 72 |
<option id="crash_reports"> |
| 73 |
<label>Crash reports</label> |
| 74 |
<description>Delete the files</description> |
| 75 |
<action command="delete" search="walk.all" path="$$base$$/Crash Reports/"/> |
| 76 |
<action command="delete" search="walk.all" path="$$base$$/Crashpad/" os="macos"/> |
| 77 |
</option> |
| 78 |
<option id="form_history"> |
| 79 |
<label>Form history</label> |
| 80 |
<description>A history of forms entered in websites</description> |
| 81 |
<action command="chrome.autofill" search="file" path="$$profile$$/Web Data"/> |
| 82 |
</option> |
| 83 |
<option id="history"> |
| 84 |
<label>History</label> |
| 85 |
<description>Delete the history which includes visited sites, downloads, and thumbnails</description> |
| 86 |
<!-- keep /History before /Favicons --> |
| 87 |
<action command="chrome.history" search="file" path="$$profile$$/History"/> |
| 88 |
<action command="chrome.favicons" search="file" path="$$profile$$/Favicons"/> |
| 89 |
<action command="delete" search="file" path="$$base$$/chrome_shutdown_ms.txt"/> |
| 90 |
<action command="delete" search="file" path="$$base$$/Safe Browsing Cookies-journal"/> |
| 91 |
<action command="delete" search="file" path="$$profile$$/DIPS"/> |
| 92 |
<action command="delete" search="file" path="$$profile$$/Archived History-journal"/> |
| 93 |
<action command="delete" search="file" path="$$profile$$/Archived History"/> |
| 94 |
<action command="delete" search="file" path="$$profile$$/DownloadMetadata"/> |
| 95 |
<action command="delete" search="file" path="$$profile$$/History Provider Cache"/> |
| 96 |
<action command="delete" search="file" path="$$profile$$/History-journal"/> |
| 97 |
<action command="delete" search="file" path="$$profile$$/MediaDeviceSalts-journal"/> |
| 98 |
<action command="delete" search="file" path="$$profile$$/MediaDeviceSalts"/> |
| 99 |
<action command="delete" search="file" path="$$profile$$/Network Action Predictor-journal"/> |
| 100 |
<action command="delete" search="file" path="$$profile$$/Network Action Predictor"/> |
| 101 |
<action command="delete" search="file" path="$$profile$$/Origin Bound Certs-journal"/> |
| 102 |
<action command="delete" search="file" path="$$profile$$/Reporting and NEL-journal"/> |
| 103 |
<action command="delete" search="file" path="$$profile$$/Reporting and NEL"/> |
| 104 |
<action command="delete" search="file" path="$$profile$$/Shortcuts-journal"/> |
| 105 |
<action command="delete" search="file" path="$$profile$$/Shortcuts"/> |
| 106 |
<action command="delete" search="glob" path="$$profile$$/History Index ????-??-journal"/> |
| 107 |
<action command="delete" search="glob" path="$$profile$$/History Index ????-??"/> |
| 108 |
<!-- Before about January 2016 Thumbnails was an SQLite file, by Google Chrome 48 it is a folder --> |
| 109 |
<action command="delete" search="file" path="$$profile$$/Thumbnails"/> |
| 110 |
<action command="delete" search="walk.files" path="$$profile$$/Thumbnails"/> |
| 111 |
<action command="delete" search="file" path="$$profile$$/Thumbnails-journal"/> |
| 112 |
<action command="delete" search="file" path="$$profile$$/Top Sites"/> |
| 113 |
<action command="delete" search="file" path="$$profile$$/Top Sites-journal"/> |
| 114 |
<action command="delete" search="file" path="$$profile$$/Visited Links"/> |
| 115 |
<!-- Windows-specific --> |
| 116 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIconsMostVisited\"/> |
| 117 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIconsOld\"/> |
| 118 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIconsRecentClosed\"/> |
| 119 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIcons\"/> |
| 120 |
</option> |
| 121 |
<option id="search_engines"> |
| 122 |
<label>Search engines</label> |
| 123 |
<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> |
| 124 |
<action command="chrome.keywords" search="file" path="$$profile$$/Web Data"/> |
| 125 |
</option> |
| 126 |
<option id="session"> |
| 127 |
<label>Session</label> |
| 128 |
<description>Previously open tabs and windows</description> |
| 129 |
<action command="delete" search="file" path="$$profile$$/Current Session"/> |
| 130 |
<action command="delete" search="file" path="$$profile$$/Current Tabs"/> |
| 131 |
<action command="delete" search="file" path="$$profile$$/Last Session"/> |
| 132 |
<action command="delete" search="file" path="$$profile$$/Last Tabs"/> |
| 133 |
<action command="delete" search="walk.all" path="$$profile$$/Sessions"/> |
| 134 |
</option> |
| 135 |
<option id="site_data"> |
| 136 |
<label>Site data</label> |
| 137 |
<description>Delete LocalStorage, IndexedDB, and other data stored by websites</description> |
| 138 |
<action command="chrome.databases_db" search="file" path="$$profile$$/databases/Databases.db"/> |
| 139 |
<action command="delete" search="walk.all" path="$$profile$$/databases/http*/"/> |
| 140 |
<action command="delete" search="walk.all" path="$$profile$$/File System"/> |
| 141 |
<action command="delete" search="walk.all" path="$$profile$$/IndexedDB"/> |
| 142 |
<action command="delete" search="walk.all" path="$$profile$$/Local Storage"/> |
| 143 |
<action command="delete" search="walk.all" path="$$profile$$/Pepper Data/Shockwave Flash/WritableRoot/"/> |
| 144 |
<action command="delete" search="walk.all" path="$$profile$$/Service Worker"/> |
| 145 |
<action command="delete" search="walk.all" path="$$profile$$/WebStorage"/> |
| 146 |
<action command="delete" search="file" path="$$profile$$/QuotaManager"/> |
| 147 |
<action command="delete" search="file" path="$$profile$$/QuotaManager-journal"/> |
| 148 |
<action command="delete" search="walk.all" path="$$profile$$/Extension State"/> |
| 149 |
<action command="delete" search="walk.files" path="$$profile$$/Session Storage/"/> |
| 150 |
</option> |
| 151 |
<option id="sync"> |
| 152 |
<label>Sync</label> |
| 153 |
<description>Delete the sync data (including web apps) and sign out of the browser</description> |
| 154 |
<action command="delete" search="walk.files" path="$$profile$$/Sync Data/"/> |
| 155 |
<action command="delete" search="walk.files" path="$$profile$$/Sync Data Backup/"/> |
| 156 |
<action command="json" search="file" path="$$base$$/Local State" address="profile"/> |
| 157 |
<action command="json" search="file" path="$$profile$$/Preferences" address="account_info"/> |
| 158 |
<action command="json" search="file" path="$$profile$$/Preferences" address="google_services"/> |
| 159 |
<action command="json" search="file" path="$$profile$$/Preferences" address="sync"/> |
| 160 |
</option> |
| 161 |
<option id="passwords"> |
| 162 |
<label>Passwords</label> |
| 163 |
<description>A database of usernames and passwords as well as a list of sites that should not store passwords</description> |
| 164 |
<warning>This option will delete your saved passwords.</warning> |
| 165 |
<action command="delete" search="file" path="$$profile$$/Login Data"/> |
| 166 |
<action command="delete" search="file" path="$$profile$$/Login Data-journal"/> |
| 167 |
</option> |
| 168 |
<option id="vacuum"> |
| 169 |
<label>Vacuum</label> |
| 170 |
<description>Clean database fragmentation to reduce space and improve speed without removing any data</description> |
| 171 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Cookies"/> |
| 172 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Network/Cookies"/> |
| 173 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Extension Cookies"/> |
| 174 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/History"/> |
| 175 |
<action command="sqlite.vacuum" search="glob" path="$$profile$$/History Index ????-??"/> |
| 176 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Login Data"/> |
| 177 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Origin Bound Certs"/> |
| 178 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Network Action Predictor"/> |
| 179 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Reporting and NEL"/> |
| 180 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/MediaDeviceSalts"/> |
| 181 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/previews_opt_out.db"/> |
| 182 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/QuotaManager"/> |
| 183 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/WebStorage/QuotaManager"/> |
| 184 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Shortcuts"/> |
| 185 |
<!-- Before about January 2016 Thumbnails was an SQLite file, by Google Chrome 48 it is a folder --> |
| 186 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Thumbnails" type="f"/> |
| 187 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Top Sites"/> |
| 188 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Web Data"/> |
| 189 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/databases/Databases.db"/> |
| 190 |
<action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/?"/> |
| 191 |
<action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/??"/> |
| 192 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Sync Data/SyncData.sqlite3"/> |
| 193 |
</option> |
| 194 |
<option id="site_preferences"> |
| 195 |
<label>Site preferences</label> |
| 196 |
<description>Settings for individual sites</description> |
| 197 |
<action command="json" search="file" path="$$profile$$/Preferences" address="profile/content_settings/exceptions"/> |
| 198 |
</option> |
| 199 |
</cleaner> |