1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Remove obsolete trusted directives

gwarser 2024-03-24 14:55:15 +01:00
parent 8ad409b796
commit 49081cfa5c

@ -17,22 +17,31 @@ The _Trusted sites_ pane allows you to review or edit the existing trusted site
There are predefined trusted site directives when you first install uBO:
about-scheme
chrome-extension-scheme
moz-extension-scheme
For Firefox Legacy platform, `behind-the-scene` is also in this predefined trusted sites list.
<details>
<summary>Obsolete, no longer used directives.</summary>
Removed in [1.56.1b1](https://github.com/gorhill/uBlock/commit/439a059cca5642da44ee620c0a21a57b194d109a):
about-scheme
chrome-scheme
edge-scheme
moz-extension-scheme
opera-scheme
vivaldi-scheme
wyciwyg-scheme
For Firefox Legacy platform, `behind-the-scene` is also in this predefined trusted sites list.
</details>
You should not remove these predefined trusted site directives, unless you know _exactly_ the consequences of doing so.
>[!CAUTION]
>You should not remove these predefined trusted site directives, unless you know _exactly_ the consequences of doing so.
Removing the predefined trusted site directives without understanding the consequences could cause your browser to malfunction. **This is especially true for the `behind-the-scene` trusted site directive on Firefox Legacy platform.**
Removing the predefined trusted site directives without understanding the consequences could cause your browser to malfunction. This is especially true for the `behind-the-scene` trusted site directive on Firefox Legacy platform.
If despite this warning you still want to remove one or more of the predefined trusted site directives, I strongly suggest to comment out an entry rather than outright delete it. To comment out an entry, just prefix it with `#`. This way you do not have to remember which predefined trusted site directive you removed, it will be just a matter of removing the `#` prefix if ever you want to restore an entry. After [1.19.3b7 ](https://github.com/gorhill/uBlock/commit/f7bbc807176fa93680fdaf8b713593a43a3df2a5) removed _predefined trusted site directives_ are commented out automatically.
If despite this warning you still want to remove one or more of the predefined trusted site directives, I strongly suggest to comment out an entry rather than outright delete it. To comment out an entry, just prefix it with `#`. This way you do not have to remember which predefined trusted site directive you removed, it will be just a matter of removing the `#` prefix if ever you want to restore an entry. After [1.19.3b7 ](https://github.com/gorhill/uBlock/commit/f7bbc807176fa93680fdaf8b713593a43a3df2a5) removed, _predefined trusted site directives_ are commented out automatically.
### Trusted sites directive syntax