SWFObject/Internet Explorer conflict and workaround. Oh yes, and please stop using IE!
My dad, of all people, emailed me to tell me that my blog wasn't loading correctly in Internet Explorer on Windows. Thanks for letting me know, dad, you rock! Now stop using IE! :)
I was getting the following error: "Internet Explorer cannot open the Internet site . . . Operation aborted". A quick google turned up a blog post by Eoghan O'Brien that outlined the issue and why it was happening:
The problem is you can’t append to the body element from script that isn’t a direct child to the body element. It can be fixed simply by putting defer=”defer” in the script tag.According to the W3C, the defer attribute:
When set, this boolean attribute provides a hint to the user agent that the script is not going to generate any document content (e.g., no “document.write” in javascript) and thus, the user agent can continue parsing and rendering.
This immediately made me suspect that the issue involved SWFObject and a quick test confirmed this.
The fix, as stated in Eoghan's post, was to put defer="defer"
in the script tags whenever I was using SWFObject. I've only change the SWF that are currently displaying on the front page. I guess I'll have to go through and change every SWFObject in every post. What a pain. In the meanwhile, viewing older posts with Flash content in it may still kill IE (how I wish I could). Which brings me to a small request:
Dear reader, if you're using Internet Explorer at the moment, please do two things: One, exit it. And two, uninstall it. Oh yeah, you can't uninstall it because Microsoft owns your computer not you. OK, so at least don't use it. Here are some yummy alternatives: Firefox, Safari (hey, why not get a Mac while you're at it and enjoy the easy life?), and Opera.
Remember: Friends don't let friends use IE.
Comments
by Clark on 2007-04-12 15:14:19
by Kosso on 2007-04-12 15:27:09
by Rob on 2007-04-12 16:07:06
by Geoff on 2007-04-12 16:17:52
by Geoff on 2007-04-12 16:26:48
by Dustin Senos on 2007-04-12 16:47:17
by Dustin Senos on 2007-04-12 16:49:24
by aral on 2007-04-12 18:47:20
by Savvas Malamas on 2007-04-12 19:21:59
by subhero on 2007-04-12 20:45:28
by Haluk S. Balkan on 2007-04-12 22:11:12
by Kristof on 2007-04-12 23:38:19
by Jason on 2007-04-13 00:44:58
by aral on 2007-04-13 08:10:50
by aral on 2007-04-13 08:12:36
by paddy on 2007-04-13 09:51:37
by Kristof on 2007-04-13 11:13:33
by moloko on 2007-04-13 12:19:09
by moloko on 2007-04-13 12:23:21
by Haluk S. Balkan on 2007-04-13 13:35:38
by Michiel van der Ros on 2007-04-13 14:19:50
by Sanctified Studios — Internet Explorer cannot open the Internet site, Operation aborted on 2007-06-07 17:02:53
by Ganar on 2007-07-04 00:57:59
by Jan Jezek on 2007-07-27 16:30:36
by Jon on 2007-07-31 03:24:34
by mikeh on 2007-07-31 11:48:20
by coober on 2007-09-06 20:33:51
by Der Makrograf » Blog Archive » SWFObject + Lightbox + Coppermine und der Internet Explorer on 2007-09-19 15:53:36
by zahur on 2007-09-20 08:37:33
by Sander on 2007-09-27 14:03:05
by dbcn on 2008-03-26 14:49:53
by Sander on 2007-12-03 12:51:51
by UnderMedia S.A. :: Blog » Internet Explorer no puede abrir el sitio, operación anulada on 2007-11-27 21:51:39
by Tim H on 2008-11-07 23:21:36
by Rob on 2007-12-14 05:53:18
by Skye on 2008-06-11 21:51:31
by Jeff on 2008-09-16 03:54:58
by Aritz on 2007-11-02 17:22:35
by Eric on 2008-06-30 11:13:44
by abdellah on 2008-01-02 09:43:44
by Pete on 2007-12-03 17:58:48
by Michael Kelly on 2008-06-02 15:32:31
by Dude on 2008-06-18 16:33:59
by Sander on 2007-12-06 13:42:49
by Sander on 2007-12-06 14:05:17
by Jiaoheng on 2008-03-20 16:30:21
by sanela novo on 2008-06-09 19:16:53
by Fabio on 2008-03-21 21:21:42
by Pamela Kramer on 2008-10-27 04:08:56
by aengw on 2009-04-20 07:47:15
by Az on 2008-02-06 14:07:32
by jasper on 2008-09-22 08:22:18
by Brian Lewandowski on 2008-09-17 20:47:30
by Matt on 2008-03-27 15:08:53
by Frederic on 2008-05-14 07:09:50
by Frederic on 2008-05-14 07:11:10
by VirtualVoid on 2008-05-16 19:35:24
by ryan on 2008-06-11 07:02:24
by Andrew on 2008-01-31 16:24:27
by Kevin Mask on 2008-04-15 00:28:24
by Andrew on 2008-01-30 22:55:22
by Julia on 2008-03-31 22:13:16
by Florian on 2008-04-21 08:47:37
by Stephan Petzl on 2009-01-09 14:00:30
by Tom webdesign on 2008-10-29 14:36:02
by phils on 2008-10-06 09:17:02
by phils on 2008-10-06 09:18:57
by Pedro Duarte on 2008-07-24 00:59:18
by Pedro Duarte on 2008-07-24 07:44:50
by çet on 2008-10-22 17:32:23
by nick on 2008-11-12 14:15:00
by nick on 2008-11-12 14:15:45
by Jeff on 2008-09-16 03:57:19
by Bokkie on 2009-01-11 22:35:38
by Stephan Petzl on 2009-01-09 11:20:06
by K Epps on 2009-03-14 20:22:52
by tim on 2009-02-27 20:45:22
by Tomas on 2009-01-12 07:37:40
by Clarkson on 2009-01-09 18:26:12
by stella_artois on 2009-04-09 23:44:14
by cet on 2009-01-10 22:06:45
by Navi Arora on 2009-01-28 11:37:06
by Henry on 2009-01-18 02:24:13
by Viktor Goltvyanitsa » SWFObject 2.1 on 2009-04-07 09:28:57
by Will on 2009-03-23 12:20:15
by Vitalik on 2009-02-23 14:42:07
by Rachel Miller on 2009-09-30 18:47:19
by Cody on 2009-11-24 01:44:17
by William G on 2009-09-17 10:22:45
by ryan on 2009-12-05 16:46:33
by SWFObject Conflicts Galore « Peng’s Blog on 2009-11-13 21:41:59
by Carlos A. Pedreros on 2009-11-19 15:47:56
by qilustra on 2009-12-16 20:11:28
by dingo on 2010-01-06 10:04:58
by RussellUresti on 2010-02-12 16:57:19
by Kiel Jared on 2010-02-16 19:56:43
by kozie on 2010-03-08 15:47:28
by Anonymous on 2010-02-25 13:42:22
by Michael H. on 2010-03-13 13:07:31
by YaliC on 2010-03-29 05:34:49
by uni on 2010-05-19 07:23:22
by Natale on 2010-05-22 13:21:59
by Gentlemen A.D. on 2010-06-15 08:51:13
by CBSE on 2010-08-05 14:30:00
by Packers Movers on 2010-08-05 14:28:25
by NCERT Solutions on 2010-08-05 14:30:50
by CBSE Sample Papers on 2010-08-05 14:33:32
by Science Notes on 2010-08-05 14:34:23
by Michael on 2010-09-07 12:56:24
by http://www.habergeliyor.com on 2010-10-07 23:38:08
by KHANH TRAN on 2011-04-19 16:37:01
by Ultimate New Media, Inc » Blog Archive » SWFObject/Internet Explorer abort message and fixes on 2012-05-25 15:21:30