How to suppress JavaScript errors for sites that I am not developing?

I like to keep javascript debugging enabled in my browser, so when I develop my own code, I can immediately see when I made a mistake.

Of course, this means that I see errors on apple.com, microsoft.com, stackoverflow.com, cnn.com, facebook.com. Its pretty fun sometimes to see how awful the code is under the control of the main sites, but sometimes it gets very annoying.

I wondered how to change this, but never got to it. He is particularly annoyed today, and I really would like to know about any solutions.

The only thing I have is to use a different browser for daily browsing.

I want some quick and easy plugin, someone can direct me to where I can turn it on and off based on the domain I'm on.

Edit: I usually use IE7 for daily browsing

+3
source share
8 answers

Firebug allows you to enable / disable debugging for different domains.

+7
source

Script Debugging in IE7 is controlled by a registry key. (Perhaps the addon could switch it. I just don't know anything.)

, , script, . Windows , . , IE script.

:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Disable Script Debugger"="yes"
"DisableScriptDebuggerIE"="yes"

:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Disable Script Debugger"="no"
"DisableScriptDebuggerIE"="no"
+7

Firefox . , . firefox Windows : firefox.exe -ProfileManager .

Firefox Webkit - Safari -. Firefox -, Safari .

+2

Internet Explorer, . , - IE. -, , ? , - 60% .

, , Chrome IE .

+1

.

, ( Firefox Firebug) .
+1

CompanionJS , script .

0

Chrome , javascript

0

JavaScript, Firefox Firebug . Chrome , Firebug, , - .

0

All Articles