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

Iterate over indexed params in Rails

When your API isn't Rails-shaped, sometimes you need to handle input differently

Web Dev Jekyll

Running Jekyll from inside VS Code

How to set up your VS Code to run Jekyll without needing extra extensions