Nasty Drupal and IE Error - Operation Aborted

Ooo, this is a fiddly little so-and-so. Finished putting together all the blocks for the site, all ready to get on with the work that I'm supposed to be doing only to discover that Internet Explorer is throwing an absolutely fit. Tried loading the page in a bunch of different IE versions to discover the same thing.

Internet Explorer cannot open the Internet site.
Operation aborted.

Trying to navigate to another page results in another error, something like:

Internet Explorer is trying to load this page. Are you sure you want to navigate away?

Turns out, it's an IE-specifc error relating to Javascript. After a bit of trial and error, removing and adding back in various widgets, it turns out the one I'm using to display the latest Twitter action is the offender. The fix is to add:

defer="defer"

into the Javascript call, so it becomes:

<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js" defer="defer"></script>
<script text="text/javascript" src="http://twitter.com/..." defer="defer"></script>
Add a comment

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options