Open files and URLs using their default application.
Security
This API has a scope configuration that forces you to restrict the files and urls to be opened.
Restricting access to the open | open API
On the configuration object, open: true means that the open API can be used with any URL,
as the argument is validated with the ^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+ regex.
You can change that regex by changing the boolean value to a string, e.g. open: ^https://github.com/.
Open files and URLs using their default application.
Security
This API has a scope configuration that forces you to restrict the files and urls to be opened.
Restricting access to the open |
open
APIOn the configuration object,
open: true
means that the open API can be used with any URL, as the argument is validated with the^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+
regex. You can change that regex by changing the boolean value to a string, e.g.open: ^https://github.com/
.