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, add the following into your opening script tag.

defer='defer'

This 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

VS CodeWeb Dev

Select multiple lines in VS Code

How to select multiple lines to edit at once within VS Code

VS Code Web Dev

Move a line up or down with VS Code

A quick tip on moving lines up or down a file using your keyboard in VS Code