document.write("<script id=__ie_onload defer src="//:"><\/script>");

160 views
Skip to first unread message

cyril alias lyric

unread,
Mar 11, 2013, 7:23:58 PM3/11/13
to seagull...@googlegroups.com
Hello,

in "www/js/SGL.js" the IE9 Debugger pointed me to line 60 for a missing ')'.

I there stubled upon:
document.write("<script id=__ie_onload defer src="//:"><\/script>");What the hack is that?

Cheers,
Cyril ;-)

PS: I am getting trubble on a https-site only with internet explorer.

cyril alias lyric

unread,
Mar 11, 2013, 8:27:07 PM3/11/13
to seagull...@googlegroups.com
Embarrasing!!

The hack I just stumbled upon. Is a hack I proposed myself about one year ago :-D

That hack fixed http://trac.seagullproject.org/ticket/1764 in IE8.
But IE9/10 seem to get in trouble with that hack.

I am not an IE and Javascript expert, so hopefully someone can check.
The problem just occurs on https-enabled sites.

Cheers,
Cyril


----- Ursprüngliche Message -----
Von: cyril alias lyric <lyric6...@yahoo.de>
An: "seagull...@googlegroups.com" <seagull...@googlegroups.com>
CC:
Gesendet: 0:23 Dienstag, 12.März 2013
Betreff: document.write("<script id=__ie_onload defer src="//:"><\/script>");

Hello,

Cheers,
Cyril ;-)

--
You received this message because you are subscribed to the Google Groups "Seagull PHP Framework General Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seagull_gener...@googlegroups.com.
To post to this group, send email to seagull...@googlegroups.com.
Visit this group at http://groups.google.com/group/seagull_general?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Demian Turner

unread,
Mar 13, 2013, 7:04:09 PM3/13/13
to seagull...@googlegroups.com
Hi Cyril

That is funny when you discover a great idea you had and forgot about ;-) I'm afraid I have no idea about msie hacks ... sorry.

cheers

Demian

cyril alias lyric

unread,
Mar 14, 2013, 9:53:51 PM3/14/13
to seagull...@googlegroups.com
Hi Demian,

yes that's funny  :-D


I experimented a little bit and correcting the syntax seems to fix the problems in IE9 and IE10.

BTW, I found the following service very useful for testing browser compatibility:
https://saucelabs.com

Cheers,
Cyril




Von: Demian Turner <dem...@phpkitchen.com>
An: seagull...@googlegroups.com
Gesendet: 0:04 Donnerstag, 14.März 2013
Betreff: Re: document.write("<script id=__ie_onload defer src="//:"><\/script>");
> To unsubscribe from this group and stop receiving emails from it, send an email to seagull_general+unsub...@googlegroups.com.

> To post to this group, send email to seagull...@googlegroups.com.
> Visit this group at http://groups.google.com/group/seagull_general?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups "Seagull PHP Framework General Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to seagull_general+unsub...@googlegroups.com.

> To post to this group, send email to seagull...@googlegroups.com.
> Visit this group at http://groups.google.com/group/seagull_general?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Seagull PHP Framework General Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seagull_general+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages