IE Cannot Open The Internet Site - Operation Aborted

An issue that I encountered when adding JavaScript into a page

I found this error this morning after adding some JavaScript into a page.

Internet Explorer Cannot Open The Internet Site ***** Operation Aborted

Which I found more than a little odd since I was using some well supported jQuery that wasn't doing anything particularly fancy.

After a lot of Googling I found out that this is a known issue and Microsoft have issued some patches concerning it, but if you want to fix the issue across the board for IE you just need to add the following into your opening script tag.

defer='defer'

This basically will defer the execution of the script until the page has finished loading (something I didn't particularly want to happen but ho-hum!)


Recent posts View all

Ruby

How to ignore Bullet in RSpec tests

Using Bullet during a test can pick up mistakes but also has false negatives; here is an easy way to ignore them

Ruby

How we used Nokogiri to fix a sizing issue in YouTube's oEmbed

At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small; we fixed in in our Rails application by using Nokogiri