In the latest version 2.18 the "do you want to open the external link" alert was introduced. (Which I find welcomed for the normal user.)
However advanced users, might use custom xdg-open wrappers that already include facilities to triage the opened URL's. For these advanced users, I would propose adding the following simple "workaround":
If the trustedHosts array contains an *, then allow opening all URL's without asking the question. (This doesn't necessarily require a menu, as advanced users can simply edit their configuration file and add that manually.)
In the latest version 2.18 the "do you want to open the external link" alert was introduced. (Which I find welcomed for the normal user.)
However advanced users, might use custom
xdg-open
wrappers that already include facilities to triage the opened URL's. For these advanced users, I would propose adding the following simple "workaround":If the
trustedHosts
array contains an*
, then allow opening all URL's without asking the question. (This doesn't necessarily require a menu, as advanced users can simply edit their configuration file and add that manually.)It appears that only a single line of code has to be changed in: https://github.com/timche/gmail-desktop/blob/b87767e0e47e5c73dd3df17dd3cd9dd725d446a2/src/app.ts#L177-L180 , to add: