How to prevent Firefox from switching to a new tab when launching a web application in Visual Studio?

How to prevent Firefox from switching to a new tab when launching a web application in Visual Studio? I would like to stay on the tab that I am reading now, instead of returning to it. This question is similar to this . However, I do not want to open a new browser window.

I tried several Firefox extensions, such as Tab Utilities, Tab Mix Pro, and Tabloc.

Any suggestions?

+6
source share
2 answers

I assume that you want to execute your code on the current page you are working on without re-setting authentication and environment variables.

Here are the options I found, unfortunately, I could not find a Firefox plugin that would suit your needs.

  • Disable visual studio from opening a new window during debugging by choosing project settings → Internet → Check. Do not open the page. Wait for the request from the external application . Then restart Firefox

  • Just join the existing process through the visual studio: Debugging → Attach to the process → click show processes from all users → look for WebDev.WebServer.exe (w3wp.exe, if it is located in IIS) → attach . From there, just reload the page and Firefox should connect to your application. If you want a faster way to make a macro, demonstrated here

+3
source

You can also try setting the options in Firefox on the "about: config" web page.

Try setting browser.link.open_newwindow to 1, which tells Firefox to "open new tabs in the current tab / window." This will affect regular browsing in Firefox, but it should give you the desired effect when debugging from Visual Studio.

+1
source

Source: https://habr.com/ru/post/909568/


All Articles