In the browser to open or close the JavaScript method, the browser javascript
All modern browsers use built-in JavaScript support. In many cases, you may need to enable or manually disable this support.
This tutorial will show you how to enable and disable JavaScript support in your browser: IE, Firefox, and Opera.
JavaScript in Internet Explorer (IE:
The following are simple steps to enable or disable JavaScript in your Internet Explorer:
- Choose "Tools"> "Internet Options" from the menu"
- Select the Security tab from the dialog box.
- Click "Custom Level"
- Scroll down until "script option" is found"
- Select the Enable "activity script" radio button
- Click "OK" and then exit.
To disable JavaScript to support Internet Explorer, select the "Disable" radio button in "activity script.
JavaScript in Firefox:
Below are simple steps to enable or disable JavaScript in Firefox:
- Choose "Tools"> "options" from the menu"
- From the "content" option in the dialog box
- Select the check box for enabling JavaScript
- Click OK, and then exit.
To disable JavaScript support for Firefox, select the disable JavaScript check box.
JavaScript in Opera:
The following are simple steps to enable or disable JavaScript in Opera:
- Choose tools> preferences from the menu"
- Select "advanced" option in the dialog box
- Select "content" from the listed items"
- Select the enable JavaScript check box
- Click "OK" and then exit.
To disable JavaScript in Opera, do not select the check box to enable JavaScript.
Warning for non-JavaScript browsers:
If you use JavaScript to do some important things, you can display a warning message and use the <noscript> label to display it to the user.
You can add the noscript block as follows immediately after the script block:
Now, if the user's browser is not enabled and does not support JavaScript or JavaScript, </noscript> displays messages on the screen.