Saturday, April 30, 2011

How to enable JavaScript - II


To view webpages with JavaScript, you need to ensure your browser has JavaScript enabled. Generally speaking, you can still view the webpage without JavaScript, but you will not be able to take advantage of the JavaScript functionality.

How do I check if my browser has JavaScript enabled?

You normally do this by checking your browser's options. This will depend on the browser you're using. Instructions for some of the more common browsers are below:

Internet Explorer (6.0):

  1. Go to Tools from the top menu
  2. Select Internet Options
  3. Click on the Security tab
  4. Click Custom Level
  5. Scroll down until you see the Scripting section
  6. Ensure that the Active Scripting option is set at Enabled
  7. Click OK

Netscape Navigator (4.8):

  1. Go to Edit from the top menu
  2. Select Preferences
  3. Select Advanced
  4. Select Scripts & Plugins
  5. Check the Enable JavaScript checkbox
  6. Click OK

Mozilla Firefox (1.0):

  1. Go to Tools from the top menu
  2. Select Options
  3. Select Web Features from the left menu
  4. Ensure the Enable JavaScript option is checked
  5. Click OK

Mozilla Firefox (1.5):

  1. Go to Tools from the top menu
  2. Select Options
  3. Click on the Content button
  4. Ensure that the Enable JavaScript option is checked
  5. Click OK

Apple Safari (1.0):

  1. Go to Safari from the top menu
  2. Select Preferences
  3. Select Security
  4. Ensure that the Enable JavaScript option is checked
  5. Click OK

How do I disable JavaScript?

You simply go through the steps above but ensure the JavaScript options are not checked/selected.
If you're developing web pages with JavaScript, it's good practice to view your website with JavaScript disabled. This will show you what your website will look like to users who choose to disable JavaScript.

Other browsers?

Most (if not all browsers) give you the option to enable/disable JavaScript. If your browser is not listed above, the steps above will give you some idea of how to find it. Just look for something called toolsoptionspreferences or something similar.

Warning

Java and JavaScript are two different things - make sure you're enabling/disabling the right option!

No comments:

Post a Comment