Add an example of how to use URL override to HTTPify URLs

This commit is contained in:
Artem Chepurnoy 2024-01-06 18:09:15 +02:00
parent 89cc7ec047
commit d569154ede
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,17 @@ If you want to extend the default URL functionality, you can add URL overrides.
- **command**: the new URL that will replace the old one, usually should contain [placeholders](PLACEHOLDERS.md). - **command**: the new URL that will replace the old one, usually should contain [placeholders](PLACEHOLDERS.md).
### Example ### Example
#### HTTPS-ify
Add the following URL override to add a button that allows a user to open the same website replacing HTTP with HTTPS protocol.
| Field | Content |
| :- |:-----------------------|
| Regex | `^http://.*` |
| Command | `https://{url:rmvscm}` |
when done correctly, all URLs that use HTTP will have a button to open the same website using the HTTPS protocol.
Note that you should consider just replacing all URLs that use HTTP with their safer alternative when possible.
#### FileZilla FTP Client #### FileZilla FTP Client
Add a URL to the entry that we be overriden later: Add a URL to the entry that we be overriden later:
``` ```