VS Code default browser - google-chrome

I made VS Code default browser to be Google Chrome (selected chrome in liveServer.settings.CustomBrowser), but live-server opens Google Chrome only in case if I right-click on .html file, but if I type in console live-server it opens in the system-wide default browser. So how can I fix that? I want to open VS Code default browser from the console.

Related

In VS code, whenever I save a file in Html its being saved as Brave Html document when I actually want it to save as Chrome Html doc. How to do it?

Earlier I used to have Brave as my default browser and installed vs code using Brave browser. I then uninstalled vs code and reinstalled it from chrome browser. Still I'm getting the same problem.
Right click then click open with and choose more apps and select chrome then select always open with chrome and tada.

how can i run my html file with live server in chrome browser

so I want to open html file with live server extension but in chrome browser , I don't know why but it's always open in edge browser
Can you use this command live-server --port=8080 --browser=chrome
This is probably caused by the fact that Edge may be set as your default browser. Go to your Settings app, search "Default Browser" and modify your OS' default browser that way.

Google Chrome: automatically "Reveal in navigator"

Is there a way to tell Chrome to automatically "Reveal in navigator" when you open a file from the "Source"tab inside DevTools?
Meanwhile you can enable it in chrome default settings.

Force link to open in Chrome

I have a HTML file on my server with a link to it from outlook.
Is there a way in HTML or Javascript to force the page to always open in Chrome. I know the systems have Chrome installed by default.
Double clicking your file will automatically open it in your default browser. If you'd like it to open in Google Chrome you need to set Chrome as your default browser.
I don't know of a way in HTML/Javascript.
well holding the shift key down and clicking on the link may do the trick assuming chrome is your default browser

Restoring chrome new-tab w/o uninstalling my extension

I have a chrome extension whick among other things is replacing the new-tab functionallity.
But since i can't restore all the new-tab functionallity (account sync login,bookmarks,web apps,recent sites,most popular).
I want the users to be able to restore the default new tab, w/o uninstalling my extension.
From my investigation there is the internal chrome scheme: "chrome-internal://" whick has the URL : chrome-internal://new-tab/ .
When i try to navigate to it from my extension it does not seem to work (premission denied,although i requested it within the mainfest).
But when navigating to it from chrome (js console) it does show the default new tab.
Any help will be appreciated.
In a Chrome extension, you can set a tab to display the original chrome new tab page by calling update on it:
chrome.tabs.update({
url: 'chrome-internal://newtab/'
});
The "New Tab" chrome extension does this. View the code on GitHub.
Alex is right. from Chrome 33+
https://www.google.co.jp/_/chrome/newtab?ie=UTF-8
replace chrome-internal
and chrome://apps works.