In the browser to open or close the JavaScript method, the browser javascript

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.