123

I want to disable visual studios browser link. I found this question: How can I disable __vwd/js/artery in VS.NET 2013? and many other resources saying I should untick "Enable Browser Link" in the toolbar, but that toolbar doesn't show up in my visual studio. I've enabled all the debug toolbars but still no browser link button.

Stephen Kennedy
  • 16,598
  • 21
  • 82
  • 98
iceburg
  • 1,730
  • 3
  • 17
  • 23

5 Answers5

198

http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

This should explain how to turn off browser link. You could do it via web.config:

<appSettings>
    <add key="vs:EnableBrowserLink" value="false"></add>
</appSettings>

or do it from the toolbar:

What Browser Link looks like in the Toolbar

If that button isn't available, go to VIEW > Toolbars > Standard and make sure it's checked. Keep in mind it's only available in VS2013 and later.

ToastyMallows
  • 3,975
  • 5
  • 40
  • 50
  • 11
    Pretty annoying that the Browser Link Dashboard (the only relevant thing that Quick Launch can find) doesn't have any way to disable it! I guess it's expected that nobody turns off the Standard toolbar... but I do. – Roman Starkov Apr 13 '15 at 20:33
  • 9
    BrowserLink just flooded Chrome developer tools network section with tons of XHR requests .. ugh, disabled now, worked for VS 2015 !! – mikhail-t Jul 03 '15 at 19:37
  • 2
    Thanks. This feature, until disabled, for me made vs2015 painfully slow. Was using VMWare Fusion, 4-8 cores on MBP, and Firefox -- not sure if IE would have been faster. – sobelito Jan 06 '16 at 10:38
  • 2
    I would like to add the "Browser Link" button to a toolbar I actually use, but I can't find it in the commands to add list. – Myster Mar 30 '16 at 22:02
  • @Myster You're right I can't find it listed in the command list, strange. Maybe someone else knows? – ToastyMallows Apr 01 '16 at 18:10
  • 1
    This really helped me a lot, browser link was hanging my chrome browser, even though i have a core i7 system. – Prithvi Oct 09 '16 at 05:18
  • 1
    @mik-t To answer your comment on why BrowserLink generates XHR warnings in Chrome, it's because it's using an older version of jQuery, v1.8.2, that uses the Synchronous XHRs, which is already deprecated. Disabling BrowserLink and updating/installing a new jQuery v3.1.1 (latest stable) fixes the issue. – tom_mai78101 Jan 19 '17 at 20:37
  • the XML should be . Captal S. – Timbo Mar 20 '17 at 19:45
57

My refresh button was to the right in VS 2015 in case this helps anyone:

shows refresh button for enable browser link in vs 2015

Nathan Prather
  • 1,968
  • 1
  • 16
  • 14
9

Merely unchecking Enable Browser Link didn't do the trick for me in VS 2017.

I had to also uncheck Enable JavaScript debugging in ASP.NET in Tools > Options > Debugging as suggested here.

Update for 15.7.4: Not related to Browser Link specifically but I had to uncheck Stop debugger when browser window is closed in Tools > Options > Projects and Solutions > Web Projects to prevent new browser windows (not tabs) from being opened when starting a project with debugging.

Greg
  • 8,121
  • 20
  • 62
  • 104
8

Go to web.config and just type

<appSettings>
      <add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

Finished! Ez and simple!

PSo
  • 868
  • 9
  • 20
7

It looks like it can be difficult to identify where Browser Link button is. Show Browser Link button in the toolbar:

enter image description here

Tonatio
  • 2,768
  • 25
  • 20
  • Yes, the 'Add or remove Buttons' actually shows the 'Browser link' button, unlike 'Customize toolbars'. – Poul Bak Apr 17 '21 at 14:21