| 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 |
@app Opera |
| 11 |
@url https://www.opera.com/ |
| 12 |
@os Windows, Linux |
| 13 |
@cleanerversion v1.6.1 |
| 14 |
@cleanerdate 2019-03-29 |
| 15 |
@cleanerby Andrew Ziem (2009-10-04 - 2018-11-20) & theatre-x (2014-11-04) & Tobias B. Besemer (2019-03-13 - 2019-03-29) |
| 16 |
@tested ok |
| 17 |
@testeddate |
| 18 |
@testedby |
| 19 |
@note Opera version 15 switched layout engine to Blink like Chromium |
| 20 |
@note Unlike Chromium, Opera does not support multiple profiles |
| 21 |
|
| 22 |
--> |
| 23 |
<cleaner id="opera"> |
| 24 |
<label>Opera</label> |
| 25 |
<description>Web browser</description> |
| 26 |
<running type="exe" os="linux" same_user="true">opera</running> |
| 27 |
<running type="exe" os="windows" same_user="true">opera.exe</running> |
| 28 |
<var name="base"> |
| 29 |
<!-- On Windows 10, Opera 68 created "Opera Stable" and "Opera Next" directories. |
| 30 |
The "Opera Next" is for Opera beta. |
| 31 |
--> |
| 32 |
<value os="windows" search="glob">%AppData%\Opera Software\Opera*</value> |
| 33 |
<value os="linux">$XDG_CONFIG_HOME/opera</value> |
| 34 |
<value os="linux" search="glob">~/snap/opera*/*/.config/opera*</value> |
| 35 |
</var> |
| 36 |
<var name="profile"> |
| 37 |
<!-- Is it still needed without Default? --> |
| 38 |
<value os="windows" search="glob">%AppData%\Opera Software\Opera*</value> |
| 39 |
<value os="windows" search="glob">%AppData%\Opera Software\Opera*\Default</value> |
| 40 |
<value os="linux">$XDG_CONFIG_HOME/opera</value> |
| 41 |
<!-- examples: |
| 42 |
~/snap/opera/current/.config/opera |
| 43 |
~/snap/opera-beta/60/.config/opera-beta |
| 44 |
~/snap/opera/420/.config/opera/Default on Opera 126 installed by snap |
| 45 |
--> |
| 46 |
<!-- Is it still needed without Default? --> |
| 47 |
<value os="linux" search="glob">~/snap/opera*/*/.config/opera*</value> |
| 48 |
<value os="linux" search="glob">~/snap/opera*/*/.config/opera*/Default</value> |
| 49 |
</var> |
| 50 |
<var name="localapp"> |
| 51 |
<value os="windows" search="glob">%LocalAppData%\Opera Software\Opera*</value> |
| 52 |
</var> |
| 53 |
<option id="cache"> |
| 54 |
<label>Cache</label> |
| 55 |
<description>Delete the web cache, which reduces time to display revisited pages</description> |
| 56 |
<!-- Opera 126: C:\Users\username\AppData\Roaming\Opera Software\Opera Stable\ShaderCache--> |
| 57 |
<action command="delete" search="walk.all" path="$$base$$/component_crx_cache"/> |
| 58 |
<action command="delete" search="walk.all" path="$$base$$/extensions_crx_cache"/> |
| 59 |
<action command="delete" search="walk.all" path="$$base$$/GraphiteDawnCache"/> |
| 60 |
<action command="delete" search="walk.all" path="$$base$$/GrShaderCache"/> |
| 61 |
<action command="delete" search="walk.all" path="$$base$$/ShaderCache"/> |
| 62 |
<action command="delete" search="walk.all" path="$$profile$$/Code Cache"/> |
| 63 |
<action command="delete" search="walk.all" path="$$profile$$/GPUCache/"/> |
| 64 |
<action command="delete" search="file" path="$$profile$$/Preferences.backup"/> |
| 65 |
<action command="json" search="file" path="$$profile$$/Preferences" address="dns_prefetching/host_referral_list"/> |
| 66 |
<action command="json" search="file" path="$$profile$$/Preferences" address="dns_prefetching/startup_list"/> |
| 67 |
<action command="json" search="file" path="$$profile$$/Preferences" address="net/http_server_properties/servers"/> |
| 68 |
<!-- suggestions.cache was found on Opera 56 but not on Google Chrome 69 --> |
| 69 |
<action command="delete" search="file" path="$$profile$$/suggestions_cache.json"/> |
| 70 |
<!-- Linux-specific --> |
| 71 |
<action command="delete" search="walk.files" path="$XDG_CACHE_HOME/opera/"/> |
| 72 |
<!-- Opera will complain if you delete ~/snap/opera/common/.cache/gdk-pixbuf-loaders.cache --> |
| 73 |
<action command="delete" search="walk.all" path="~/snap/opera/common/.cache/mesa_shader_cache_db"/> |
| 74 |
<action command="delete" search="walk.all" path="~/snap/opera/common/.cache/mesa_shader_cache"/> |
| 75 |
<action command="delete" search="walk.all" path="~/snap/opera/common/.cache/opera"/> |
| 76 |
<action command="delete" search="walk.all" path="~/snap/opera-beta/common/.cache/opera-beta"/> |
| 77 |
<!-- Windows-specific --> |
| 78 |
<action command="delete" search="walk.all" path="$$localapp$$\Cache\"/> |
| 79 |
<action command="delete" search="walk.all" path="$$localapp$$\Media Cache\"/> |
| 80 |
<!-- below are entries valid before Opera 15 --> |
| 81 |
<action command="delete" search="walk.files" path="%LocalAppData%\Opera\Opera*\cache\"/> |
| 82 |
<action command="delete" search="walk.files" path="%LocalAppData%\Opera\Opera*\opcache\"/> |
| 83 |
<action command="delete" search="walk.files" path="%LocalAppData%\Opera\Opera*\thumbnails\"/> |
| 84 |
<action command="delete" search="walk.files" path="%LocalAppData%\Opera\Opera*\profile\cache4\"/> |
| 85 |
<action command="delete" search="walk.files" path="%LocalAppData%\Opera\Opera*\profile\opcache\"/> |
| 86 |
<action command="delete" search="walk.files" path="~/.opera/cache/"/> |
| 87 |
<action command="delete" search="walk.files" path="~/.opera/cache4/"/> |
| 88 |
<action command="delete" search="walk.files" path="~/.opera/opcache/"/> |
| 89 |
<action command="delete" search="walk.files" path="~/.opera/thumbnails/"/> |
| 90 |
</option> |
| 91 |
<option id="cookies"> |
| 92 |
<label>Cookies</label> |
| 93 |
<description>Delete cookies, which store login information, website preferences, and tracking identifiers</description> |
| 94 |
<action command="cookie" search="file" path="$$profile$$/Cookies"/> |
| 95 |
<action command="delete" search="file" path="$$profile$$/Cookies-journal"/> |
| 96 |
<action command="cookie" search="file" path="$$profile$$/Network/Cookies"/> |
| 97 |
<action command="delete" search="file" path="$$profile$$/Network/Cookies-journal"/> |
| 98 |
<action command="cookie" search="file" path="$$profile$$/Extension Cookies"/> |
| 99 |
<action command="delete" search="file" path="$$profile$$/Extension Cookies-journal"/> |
| 100 |
<action command="delete" search="file" path="$$profile$$/TransportSecurity"/> |
| 101 |
<!-- below are entries valid before Opera 15 --> |
| 102 |
<!-- example: C:\Documents and Settings\user\Application Data\Opera\Opera\cookies.txt --> |
| 103 |
<!-- example: C:\Documents and Settings\user\Application Data\Opera\Opera 11.00 beta\cookies.txt --> |
| 104 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\cookies4.dat"/> |
| 105 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\profile\cookies4.dat"/> |
| 106 |
<action command="delete" search="file" path="~/.opera/cookies4.dat"/> |
| 107 |
</option> |
| 108 |
<option id="crash_reports"> |
| 109 |
<label>Crash reports</label> |
| 110 |
<description>Delete the files</description> |
| 111 |
<action command="delete" search="walk.all" path="$$base$$/Crash Reports/"/> |
| 112 |
</option> |
| 113 |
<option id="form_history"> |
| 114 |
<label>Form history</label> |
| 115 |
<description>A history of forms entered in websites</description> |
| 116 |
<action command="chrome.autofill" search="file" path="$$profile$$/Web Data"/> |
| 117 |
</option> |
| 118 |
<option id="history"> |
| 119 |
<label>History</label> |
| 120 |
<description>Delete the history which includes visited sites, downloads, and thumbnails</description> |
| 121 |
<!-- keep /History before /Favicons --> |
| 122 |
<action command="chrome.history" search="file" path="$$profile$$/History"/> |
| 123 |
<action command="chrome.favicons" search="file" path="$$profile$$/Favicons"/> |
| 124 |
<action command="delete" search="file" path="$$profile$$/Favicons-journal"/> |
| 125 |
<action command="delete" search="file" path="$$profile$$/DIPS"/> |
| 126 |
<action command="delete" search="file" path="$$profile$$/History Provider Cache"/> |
| 127 |
<action command="delete" search="file" path="$$profile$$/History-journal"/> |
| 128 |
<action command="delete" search="file" path="$$profile$$/MediaDeviceSalts-journal"/> |
| 129 |
<action command="delete" search="file" path="$$profile$$/MediaDeviceSalts"/> |
| 130 |
<action command="delete" search="file" path="$$profile$$/Network Action Predictor-journal"/> |
| 131 |
<action command="delete" search="file" path="$$profile$$/Network Action Predictor"/> |
| 132 |
<action command="delete" search="file" path="$$profile$$/Origin Bound Certs-journal"/> |
| 133 |
<action command="delete" search="file" path="$$profile$$/Reporting and NEL-journal"/> |
| 134 |
<action command="delete" search="file" path="$$profile$$/Reporting and NEL"/> |
| 135 |
<action command="delete" search="file" path="$$profile$$/Shortcuts-journal"/> |
| 136 |
<action command="delete" search="file" path="$$profile$$/Shortcuts"/> |
| 137 |
<action command="delete" search="file" path="$$profile$$/Visited Links"/> |
| 138 |
<!-- Windows-specific --> |
| 139 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIconsOld\"/> |
| 140 |
<action command="delete" search="walk.files" path="$$profile$$\JumpListIcons\"/> |
| 141 |
<!-- Opera 68 beta on Windows has "Jump List Icons" spelled with space --> |
| 142 |
<action command="delete" search="walk.files" path="$$profile$$\Jump List Icons\"/> |
| 143 |
<action command="delete" search="walk.files" path="$$profile$$\Jump List IconsOld\"/> |
| 144 |
<!-- below are entries valid before Opera 15 --> |
| 145 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\download.dat"/> |
| 146 |
<action command="delete" search="file" path="%AppData%\Opera\Opera\profile\download.dat"/> |
| 147 |
<action command="delete" search="file" path="~/.opera/download.dat"/> |
| 148 |
<action command="delete" search="file" path="%AppData%\Opera\Opera*\search_field_history.dat"/> |
| 149 |
<action command="delete" search="file" path="~/.opera/search_field_history.dat"/> |
| 150 |
<!-- global.dat is in Opera 9, global_history.dat is in Opera 10 --> |
| 151 |
<action command="delete" search="file" path="%AppData%\Opera\Opera\profile\global.dat"/> |
| 152 |
<action command="delete" search="file" path="%AppData%\Opera\Opera\profile\typed_history.xml"/> |
| 153 |
<action command="delete" search="file" path="%AppData%\Opera\Opera\profile\vlink4.dat"/> |
| 154 |
<action command="delete" search="file" path="%LocalAppData%\Opera\Opera\profile\vps\????\md.dat"/> |
| 155 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\global_history.dat"/> |
| 156 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\typed_history.xml"/> |
| 157 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\vlink4.dat"/> |
| 158 |
<action command="delete" search="glob" path="%LocalAppData%\Opera\Opera*\icons\*.gif"/> |
| 159 |
<action command="delete" search="glob" path="%LocalAppData%\Opera\Opera*\icons\*.ico"/> |
| 160 |
<action command="delete" search="glob" path="%LocalAppData%\Opera\Opera*\icons\*.idx"/> |
| 161 |
<action command="delete" search="glob" path="%LocalAppData%\Opera\Opera*\vps\????\md.dat"/> |
| 162 |
<action command="delete" search="file" path="~/.opera/global.dat"/> |
| 163 |
<action command="delete" search="file" path="~/.opera/global_history.dat"/> |
| 164 |
<action command="delete" search="file" path="~/.opera/typed_history.xml"/> |
| 165 |
<action command="delete" search="file" path="~/.opera/vlink4.dat"/> |
| 166 |
<action command="delete" search="glob" path="~/.opera/icons/*.gif"/> |
| 167 |
<action command="delete" search="glob" path="~/.opera/icons/*.ico"/> |
| 168 |
<action command="delete" search="glob" path="~/.opera/icons/*.idx"/> |
| 169 |
<action command="delete" search="glob" path="~/.opera/vps/????/md.dat"/> |
| 170 |
</option> |
| 171 |
<option id="site_data"> |
| 172 |
<label>Site data</label> |
| 173 |
<description>Delete LocalStorage, IndexedDB, and other data stored by websites</description> |
| 174 |
<action command="chrome.databases_db" search="file" path="$$profile$$/databases/Databases.db"/> |
| 175 |
<action command="delete" search="walk.all" path="$$profile$$/databases/http*/"/> |
| 176 |
<action command="delete" search="walk.all" path="$$profile$$/File System"/> |
| 177 |
<action command="delete" search="walk.all" path="$$profile$$/IndexedDB"/> |
| 178 |
<action command="delete" search="walk.all" path="$$profile$$/Local Storage"/> |
| 179 |
<action command="delete" search="walk.all" path="$$profile$$/Service Worker"/> |
| 180 |
<action command="delete" search="walk.all" path="$$profile$$/WebStorage"/> |
| 181 |
<action command="delete" search="file" path="$$profile$$/QuotaManager"/> |
| 182 |
<action command="delete" search="file" path="$$profile$$/QuotaManager-journal"/> |
| 183 |
<action command="delete" search="walk.all" path="$$profile$$/Extension State"/> |
| 184 |
<action command="delete" search="walk.all" path="$$profile$$/Session Storage"/> |
| 185 |
<!-- below are entries valid before Opera 15 --> |
| 186 |
<action command="delete" search="walk.all" path="%AppData%\Opera\Opera*\pstorage\"/> |
| 187 |
<action command="delete" search="walk.all" path="~/.opera/pstorage/"/> |
| 188 |
</option> |
| 189 |
<option id="passwords"> |
| 190 |
<label>Passwords</label> |
| 191 |
<description>A database of usernames and passwords as well as a list of sites that should not store passwords</description> |
| 192 |
<warning>This option will delete your saved passwords.</warning> |
| 193 |
<action command="delete" search="file" path="$$profile$$/Login Data"/> |
| 194 |
<action command="delete" search="file" path="$$profile$$/Login Data-journal"/> |
| 195 |
<!-- below are entries valid before Opera 15 --> |
| 196 |
<action command="delete" search="file" path="~/.opera/wand.dat"/> |
| 197 |
</option> |
| 198 |
<option id="session"> |
| 199 |
<label>Session</label> |
| 200 |
<description>Previously open tabs and windows</description> |
| 201 |
<action command="delete" search="file" path="$$profile$$/Current Session"/> |
| 202 |
<action command="delete" search="file" path="$$profile$$/Current Tabs"/> |
| 203 |
<action command="delete" search="file" path="$$profile$$/Last Session"/> |
| 204 |
<action command="delete" search="file" path="$$profile$$/Last Tabs"/> |
| 205 |
<action command="delete" search="walk.all" path="$$profile$$/Sessions/"/> |
| 206 |
<!-- below are entries valid before Opera 15 --> |
| 207 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\sessions\autosave.win"/> |
| 208 |
<action command="delete" search="glob" path="%AppData%\Opera\Opera*\sessions\autosave.win.bak"/> |
| 209 |
<action command="delete" search="file" path="~/.opera/sessions/autosave.win"/> |
| 210 |
<action command="delete" search="file" path="~/.opera/sessions/autosave.win.bak"/> |
| 211 |
</option> |
| 212 |
<option id="vacuum"> |
| 213 |
<label>Vacuum</label> |
| 214 |
<description>Clean database fragmentation to reduce space and improve speed without removing any data</description> |
| 215 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/autoupdate_checker.sqlite"/> |
| 216 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Cookies"/> |
| 217 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Network/Cookies"/> |
| 218 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/History"/> |
| 219 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Login Data"/> |
| 220 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Origin Bound Certs"/> |
| 221 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Network Action Predictor"/> |
| 222 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/previews_opt_out.db"/> |
| 223 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/QuotaManager"/> |
| 224 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/WebStorage/QuotaManager"/> |
| 225 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Shortcuts"/> |
| 226 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/SharedStorage"/> |
| 227 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Affiliation Database"/> |
| 228 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Trust Tokens"/> |
| 229 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/DIPS"/> |
| 230 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/MediaDeviceSalts"/> |
| 231 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/ServerCertificate"/> |
| 232 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Reporting and NEL"/> |
| 233 |
<!-- Before about January 2016 Thumbnails was an SQLite file, by Google Chrome 48 it is a folder --> |
| 234 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Thumbnails" type="f"/> |
| 235 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/Web Data"/> |
| 236 |
<action command="sqlite.vacuum" search="file" path="$$profile$$/databases/Databases.db"/> |
| 237 |
<action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/?"/> |
| 238 |
<action command="sqlite.vacuum" search="glob" path="$$profile$$/databases/http*/??"/> |
| 239 |
</option> |
| 240 |
<option id="site_preferences"> |
| 241 |
<label>Site preferences</label> |
| 242 |
<description>Settings for individual sites</description> |
| 243 |
<action command="json" search="file" path="$$profile$$/Preferences" address="profile/content_settings/exceptions"/> |
| 244 |
</option> |
| 245 |
</cleaner> |