mirror of https://github.com/keeweb/keeweb.git
checking links being opened
This commit is contained in:
parent
f7eab86166
commit
086f2c73db
|
@ -27,7 +27,9 @@ const Launcher = {
|
|||
return this.electron().remote.require(mod);
|
||||
},
|
||||
openLink(href) {
|
||||
this.electron().shell.openExternal(href);
|
||||
if (/^(http|https|ftp|sftp|mailto):/i.test(href)) {
|
||||
this.electron().shell.openExternal(href);
|
||||
}
|
||||
},
|
||||
devTools: true,
|
||||
openDevTools() {
|
||||
|
|
Loading…
Reference in New Issue