搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox Developer Edition for Visual Studio 2019

more options

Unfortunately, the company mandates the use of non-Firefox browser for the internet. What I want to do is use Firefox Developer as the browser for testing web apps. (This is okay with IT.) However, Visual Studio doesn't allow me to not use the default browser for running tests. I've tried Microsoft, Visual Studio, etc. and no one has a solution for wiring up the VS "View in browser" for .html pages to Firefox. Does anyone have a suggestion? TIA!

Jim

Unfortunately, the company mandates the use of non-Firefox browser for the internet. What I want to do is use Firefox Developer as the browser for testing web apps. (This is okay with IT.) However, Visual Studio doesn't allow me to not use the default browser for running tests. I've tried Microsoft, Visual Studio, etc. and no one has a solution for wiring up the VS "View in browser" for .html pages to Firefox. Does anyone have a suggestion? TIA! Jim
附加的畫面擷圖

被選擇的解決方法

With Windows OS's the default web browser is what will open when using a 3rd party application to open a web browser. Short of a Firefox extension to "perform that action" that is locked into Windows.

But ... File > Open File from the Firefox Menu Bar and then locating those *.html files should work just fine to display them in Firefox.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

Hello Jim,

there is a plugin for Visual Studio called "open in browser" made by TechER which should give you the option to open in the default browser or open in an alternative one

Hope this helps

more options

Thanks Mick! That's just the kind of thing I'm looking for. Unfortunately, it's for Visual Studio Code, not (vanilla) Visual Studio. That naming decision causes a lot of confusion.

more options

選擇的解決方法

With Windows OS's the default web browser is what will open when using a 3rd party application to open a web browser. Short of a Firefox extension to "perform that action" that is locked into Windows.

But ... File > Open File from the Firefox Menu Bar and then locating those *.html files should work just fine to display them in Firefox.