Wednesday, May 31, 2023
Home Technology Programming Disable Javascript on IE8 /IE7 (Internet Explorer) : Common Mistakes

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

17 COMMENTS

  1. but this will disable all scripts in the page …
    for example … asp:LinkButtons wont work anymore (for me at lease).

  2. well rooturaj …. it’s my fault (and microsoft ppl’s)
    …i wanted to disable javascript and use “asp:LinkButton”s …
    and it didn’t work … after all (after viewing msdn) i found out that “asp:LinkButton”s don’t work at all with javascript disabled …
    .. so ..all in all it’s Microsoft guy’s mistake …;)
    thanx 4 asking ..anyway !!

  3. Hi Jashminder.
    I personally tried the same approach on IE8 before putting it on my blog. I doubled checked it once more. It works.

    Assuming you are trying to validate a form and assuming you are calling a java script function to submit the form. Any direct submit buttons will post to the next page without fail and bypassing all your JS validation.

    Does that ring a bell anywhere?

  4. i done all your instructions but yet javascript in my browser still don’t function to connect on my FB.Is other way to enable? thank you.

  5. Thank you for your extremely clear and easy-to-follow instructions. It is so rare in the tech world to find that. MUCH appreciated.

  6. Ye it works great. Thanks!
    Before I was only changing it on the Internet zone as well, thus the reason it didn’t work! 🙂

Comments are closed.

Most Popular

List of Best English Speaking Institutes in Delhi

If you want to improve your English language skills, you might wonder where to begin. With so many English language institutes in...

Top 10 Coding Competitions for Kids: Junior Coding Championships worldwide

If your child has been into coding and app development recently and you wish to show off their coding skills then enrol...

Turn on Less Secure Apps in Google Workspace Gmail accounts

Sometimes a developer needs to send emails from Gmail or Google Workspace email account or mail server from their website or app....

Construction Financing: Everything You Need to Know

Thinking about building a new home? Construction financing can help. In this article, we will help you figure out...

MY DICTIONARY PROJECT

I have started a new project called the Indic Dictionary. This will cover popular household words in India and what they are called in various languages. Eventually, I will make this an easy to use app where where people can easily find something like “hing in English” or “Tea Tree Oil in Hindi” or “carrom seeds in Urdu”.