I'm getting a similar bug.
This is in my head:
<script type="text/javascript" src="
http://ajax.googleapis.com/
ajax/libs/chrome-frame/1/CFInstall.js"></script>
<style>
/*
CSS rules to use for styling the overlay:
.chromeFrameOverlayContent
.chromeFrameOverlayContent iframe
.chromeFrameOverlayCloseBar
.chromeFrameOverlayUnderlay
*/
</style>
<script>
CFInstall.check({
mode: "overlay"
});
</script>
Hit it with IE8 and I'm getting:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0)
Timestamp: Fri, 11 Jun 2010 19:56:39 UTC
Message: 'null' is null or not an object
Line: 248
Char: 7
Code: 0
URI:
http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.js
On May 4,
2:39 pm, Alex Russell <
slightly...@google.com> wrote:
> IE doesn't like trailing commas on the last element in an object
> literal. You have:
>
> CFInstall.check({
> mode: "overlay",
> });
>
> Which should just be:
>
> CFInstall.check({
> mode: "overlay" // note the lack of comma
> });
>
> Regards
>
>
>
> On Sun, May 2, 2010 at 1:42 AM, Rich Bradshaw <
rich.brads...@gmail.com> wrote:
> > I've copied the demo code into a jsbin document here:
http://jsbin.com/atifu4
>
> > Rather than prompting the user to install CF (or whatever it's meant
> > to do!), it just comes up with a variety of errors in IE:
> > "'document.body' isnullor not an object", or "'null' isnullor not
> > an object".
>
> > Any ideas? I've tried in IE8 only currently.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google-chrome-frame" group.
> > To post to this group, send email to
google-ch...@googlegroups.com.
> > To unsubscribe from this group, send email to
google-chrome-f...@googlegroups.com.
> > For more options, visit this group athttp://
groups.google.com/group/google-chrome-frame?hl=en.