mirror of
https://github.com/AChep/keyguard-app.git
synced 2024-12-22 21:08:55 +01:00
Add an example of how to use URL override to HTTPify URLs
This commit is contained in:
parent
89cc7ec047
commit
d569154ede
@ -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).
|
||||
|
||||
### 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
|
||||
Add a URL to the entry that we be overriden later:
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user