Open external link only if confirmed or clicked with Cmd/Ctrl

WHAT DO YOU RECOMMEND

Currently when click at a external link (like http://something), the default browser is immediately called to open the website.

HOW COULD IT BE DONE

I recommend that if a link is clicked, and if it will open browser/external application, confirmation in either these two ways:

  • Only open if Cmd/Ctrl+Click. Or:
  • Show confirmation box.

This feature can be turned off if user knows the risk.

The behavior should be kept same under editing and viewing mode for user experience.

REAL WORLD USE CASES

I would put some links that should not be opened unless explicitly meant. For example, some IOC domains.

It also helps to pre-migrate potential bugs like this being directly used as a way to exploit users.

Also, when the shared/public space feature introduced in the future version, it can help people knows which is a link to external objects, and which is a link within the space.