Disable Javascript on IE8 /IE7 (Internet Explorer) : Common Mistakes

I was surprised when one of our engineers asked me – “ How can we disable Javascript on Internet Explorer?” He was testing Javascript validation and precautions against bypassing this layer of validation. As usual he googled it up and tried something. But it would not work. When I arrived at his system he showed me what he was doing to disable javascript but it was still working.

There was just one thing he was over looking. This I guess is one of the common errors people face while disabling javascript on Internet explorer.

In case you do not know how to do it here is a picture guide for you.
1.Open your Internet Explorer browser window.
2.Go to the menu and click on TOOLS
3.Choose Internet Options. (See below; it might help)

Step One - Tools>Internet Options (Disable Javascript IE)

Step One - Tools>Internet Options (Disable Javascript IE)

Once you open the Internet Options then
4.Click the Security Tab. (Use the picture below as guide)

Step 2 >> Choose Security Tab (Disable Javascript IE)

Step 2 >> Choose Security Tab (Disable Javascript IE)

Now here is the trick. The Zones. By default the Internet Zone is selected. So if you proceed further you would be able to disable Javascript on websites that are live on internet. If you are developing / testing on local files then it would still be working. So choose what you want. In our case, since we were working locally we have chosen the Local Intranet option.

Finally
5. Scroll down till you find the Scripting Option.
6.On Active Scripting Radio Button choose Disable.(Use the screen shot for reference)

Step 3 >> Disable Active Scripting (Disabling javascript IE)

Step 3 >> Disable Active Scripting (Disabling javascript IE)

If your job is not done yet make sure your Javascript function is al right. Else curse me for wasting your time. If your job is done you can leave a comment below.

Cheers

More posts you might be interested in:

17 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *