question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URL protocol: confirmation dialog

See original GitHub issue

Is there any way to open files by URL without confirmation? It starts from 1.44 version and has no “Always open” checkbox. When you need to open a lot of files with URL its not comfortable to click “Yes” every time.

  • VSCode Version: 1.44
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open link “vscode://file/path”
  2. See the confirmation dialog “An external application wants to open ‘path’ in Code. Do you want to open this file or folder?”

Does this issue occur when all extensions are disabled?: Yes

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:19
  • Comments:29 (1 by maintainers)

github_iconTop GitHub Comments

21reactions
Saintelcommented, May 25, 2020

Alternatively, can you add trusted locations option?

4reactions
viperetcommented, Jan 15, 2022

@xitanggg I created very simple PR that removes that prompt for most of the links, which is safe to open. But it was closed without any real review.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to display confirmation dialog when clicking an <a> link ...
Display confirmation dialog when clicking an <a> link using JavaScript. onclick Event: This event occurs when the user clicks on an element.
Read more >
Unable to remove confirmation dialog on external protocol ...
When opening an external protocol, a confirmation dialog apppears that can not be removed. Open brave; Enter a URL that is registered in...
Read more >
Avoid confirmation dialog for url scheme redirection in iOS9
The confirmation dialog was added to address known vulnerabilities in many apps with registered iOS URL Schemes. It prevents malicious web ...
Read more >
Window confirm() Method - W3Schools
The confirm() method displays a dialog box with a message, an OK button, and a Cancel button. The confirm() method returns true if...
Read more >
Chrome prompting for custom protocol handlers every time ...
So this was something that registers itself with the registry, and then when clicked on, prompts the user if they want to open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found