I have a fancy script that is nice, but not essential and surprise surprise, doesn't play nice with IE. How do I 'comment it out' for IE?
I know I can use the following to include statements for IE, but how do I exclude them?
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
On the Tools menu, select Internet Options. If you can't see the Tools menu, press Alt to display the menus. On the Advanced tab, clear the Display a notification about every script error box, and then select OK.
Click the "Stop Script" button to stop the script from running. Stopping the script can prevent the browser from running out of memory or crashing. If this problem is only happening on one page and every other page is fine, a script on that one page is likely causing your problem.
Internet Explorer Click Tools > Internet Options. Click the Security tab > Custom Level. In the Scripting section, click Enable for Active Scripting. In the dialog box that displays, click Yes.
In most cases, it will be “ Internet “. Select the “ Custom level… ” button. Scroll down to the “ Scripting ” area and select the radio button to “ Enable ” or “ Disable ” it “ Active scripting “. You may also opt for IE11 to “ Prompt ” you to allow scripts to run.
You can disable script debugging in Internet Explorer. Step 1. Click Advanced tab in the Internet Options panel. Step 2. Look for Browsing section, tick Disable script debugging (Internet Explorer) and Disable script debugging (Other), uncheck Display a notification about every script error, and then click Apply.
Blocking Jscript helps protect against malicious actors targeting the JScript scripting engine while maintaining user productivity as core services continue to function as usual. As a security best practice, we recommend that users disable the legacy JScript execution for websites in the Internet and Restricted Sites zones.
You can update your Internet Explorer from Windows Update option. You can start Internet Explorer, open the Tools menu, and then click Windows Update. Tip: You can go to Microsoft official site to download and install the latest version of Internet Explorer manually by yourself. That's all steps to stop Internet Explorer script error Windows 10.
Just use ! see here for more info
<!--[if !IE]>
or
<!--[if !(IE 6)]>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With