Phu1237 / vscode-vs-browser

Built-in browser for Visual Studio Code
MIT License
39 stars 3 forks source link

Can't access external sites #2

Closed lucasvazq closed 2 years ago

lucasvazq commented 2 years ago

For example, if you try to access https://google.com, you'll notice that the page never loads. And, if you open the console, it displays the following error:

[Extension Host] Blocked a frame with origin "vscode-webview://***" from accessing a cross-origin frame.
Phu1237 commented 2 years ago

image Please turn on this setting so that you can access the external site. But that will lead to can't access local sites (ex: localhost)

lucasvazq commented 2 years ago

Oh, that's a bad tradeoff. I want to open my localhost and also my slack :rofl:

Phu1237 commented 2 years ago

Maybe I will add the Start with Proxy feature to run 2 browsers at once. Thank you for your report 🎉