views:

146

answers:

1

Just now I started having problems with a site I'm working on. The problem occurs when opening a window with a simple window.open.

var popup = window.open("picture.php?id="+id, "gallerypicture", 
    "width=737, height=543, top="+top+", left="+left);
popup.focus();

For some reason Google Toolbar starts breaking stuff as soon as the window has opened, generating alot of javascript errors, like GTB_PREF_OPT_IN is not defined and this.docShell is null

I've googled around for a bit without finding anything, I'll keep looking, but I thought I would drop a question to see if anyone here had this problem, and if/how you solved it.

Edit: I think I have to clarify that this doesn't occur on other places where window.open, only on my site, and it just recently started happening, but I really cant figure out what change I made to trigger the problem.

Edit 2: I tried making a really basic test, creating a new page with just this code:

<a href="#" onclick="window.open('winopen.php', 'pop', 'width=200, 
    height=200, top=100, left=100');">open</a>

But I still get the same error, as long as the google toolbar plugin is enabled.

A: 

it is still broken on lastest betas for me. I am using googlebar lite now

mike