You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To register "termux:" scheme, which will be handled by bin/termux-scheme-opener shell script, but only in case if user created one. If the script is not present, there probably should be a dialog telling so. The script should receive the passed URL with scheme (and possibly the sender app name).
Security:
Disabled by default, till termux-scheme-opener script is created, users can deploy their own ways to restrict this action such as passing some token in the url "termux://myaction?token=secret" to allow the command or creating a termux shell question hot to act on open.
Reasoning:
It will allow creating mobile browser userscripts or bookmarklets to send some actions from the browser to termux.
Feature description
To register "termux:" scheme, which will be handled by bin/termux-scheme-opener shell script, but only in case if user created one. If the script is not present, there probably should be a dialog telling so. The script should receive the passed URL with scheme (and possibly the sender app name).
Security:
Disabled by default, till termux-scheme-opener script is created, users can deploy their own ways to restrict this action such as passing some token in the url "termux://myaction?token=secret" to allow the command or creating a termux shell question hot to act on open.
Reasoning:
It will allow creating mobile browser userscripts or bookmarklets to send some actions from the browser to termux.
Additional information
Registering some custom scheme to run handler scripts is a popular automation technique on desktop operations systems. Example:
https://github.com/alphapapa/org-protocol-capture-html
The text was updated successfully, but these errors were encountered: