-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Description
With Markdown support in HTML/CSS extensions, users would see links going to external websites such as https://developer.mozilla.org/en-US/ and https://www.w3.org/. When displaying these links, we need to protect users as we don't control the linked websites.
Previous proposal. After you click link:
Notification asks you to whitelist domains:
After that, a setting would be written to css.whiteListDomains
. Next time you click open that link, it opens in browser directly.
We had some concerns this complicates a simple link opening. Here's my alternative proposal:
This applies to JS/TS as well:
For command links (GitLens), this would also give more context as to what command would be run. Maybe we can truncate the command to only show command but not its args.