Prevent/Fix Operation Aborted Errors In IE


The screenshot above is the worst nightmare of any webmaster, it relates to improper JavaScript coding that prevents your site from loading in Internet Explorer.

And considering the Sitemeter debacle quite sometime back, which prevented users from visiting the site running sitemeter code because of a problem in their JavaScript code, it can be pretty annoying as you are still losing traffic for no fault of yours.

Many might say it is IE’s fault as other browsers handle JavaScript errors pretty well, however that is how it handles things, so we need to make sure that the JavaScript code does not have errors in the first place, I am saying this because I myself have made a mistake once and lost traffic from IE users, you can read more about that experience in my post Incomplete testing can lose you traffic.

To overcome this error, I had told you about some simple steps you can do on your end to avoid operation aborted errors, to add to that the IE blog today wrote a extensive tutorial that will help developers to avoid visitors from seeing the dreaded error on their websites.

The post is pretty detailed and talks about possible scenarios the error will occur in and the steps you can take to debug your code to track such errors.

Definitely useful considering the fact that IE still holds a considerable share in the browser market, so no matter whether you love it or hate it, you still have to code for it.

Preventing Operation Aborted Scenarios [IE Blog]

Published by

Keith Dsouza

I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website.I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

  • Frank

    A site I’m building does not do this directly, but we have links that when clicked call JS that modifies the DOM. If the page hasn’t fully loaded and a user clicks one of these links, we see this error.

    Any ideas on how to prevent users from clicking the link before the page has fully loaded?

  • I have downloaded IE 8. It works well. But it made my system a bit slower. Chrome is fast.