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

Web Dev

Updating payment method email addresses in Stripe

You can't update the email address associated with a payment method in Stripe via their dashboard, you need to use the Stripe CLI

Ruby

Irreversible Rails Migrations

What are irreversible migrations and how might we use them to our advantage?