All modern browsers use built-in support for JavaScript. Many times, you may need to enable or manually disable this support.
This tutorial will let you know how to enable and disable JavaScript support in your browsers: Internet Explorer, Firefox and Opera.
JavaScript in Internet Explorer (IE):
Here are simple steps to turn JavaScript on or off in your Internet Explorer:
To disable JavaScript support in Internet Explorer, select the "Disable" radio button in "Active Scripting".
JavaScript in Firefox:
Here are the simple steps to turn JavaScript on or off in Firefox:
To disable Firefox’s JavaScript support, the Disable JavaScript checkbox should be selected.
JavaScript in Opera:
Here are the simple steps to turn JavaScript on or off in Opera:
To disable JavaScript support in Opera, uncheck the Enable JavaScript checkbox.
Warning for non-JavaScript browsers:
If you are using JavaScript to do something important, you can display a warning message to the user using the
You can add the noscript noscript block immediately after the script block as follows:
<html> <body> <script language="javascript" type="text/javascript"> <!-- document.write("Hello World!") //--> </script> <noscript> Sorry...JavaScript is needed to go ahead. </noscript> </body> </html>
Now, if the user's browser does not support JavaScript or JavaScript is not enabled, then a message will be displayed on the screen.