How To Stop Showing Web Page Errors in Internet Explorer

Posted by Lasantha Bandara on April 2nd, 2010 File Under : browser, java script3 Comments

If you are using internet explorer you can see that,Internet explorer show web page errors in its status Bar.This is not a good thing for your site.Look at the picture below:

Here I show you how to stop these error messages using JavaScript.

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see </head> tag.

3.Now copy below code and paste it just before </head> tag.

<script>
function stoperrors()
{return true;}
window.onerror=stoperrors;
</script>

4.Now save your template and you are done.

Internet Explorer do not show errors of your website/blogger blog further.

File Under : browser, java script

3 Responses to “How To Stop Showing Web Page Errors in Internet Explorer”

  1. Beben says:

    this suitable for blog uses many script...
    such my blog 😀
    thanks for simple script but usefully ^^

  2. coolpctips.com says:

    thanks a lot sir 🙂 my blogger template is prozine which is designed by and fortunately it wont show any errors in Internet explorer but one of my other blog shows horrible errors in IE i guess this will help me. thanks a lot 🙂

  3. noir says:

    this script works, others not. salute. thanx a million.

Leave a Reply