I tried this in the chrome debugger and I said the value was
undefined:
print:
w.location.href
undefined
I was attempting to do the following:
w.location.href = w.location.href + "?parm=value";
Though if I set w.location.href = "http:/url" it did reset the URL as
I wanted.
On Oct 22, 1:54 pm, Aaron Boodman <[email protected]> wrote:
> var w = window.open(...);
> w.location.href = "...";
>
> - a
>
>
>
> On Thu, Oct 22, 2009 at 9:02 AM, jfc <[email protected]> wrote:
>
> > I created an extension that will launch browser windows using
> > window.open(blah, blah) (I am not using the chrome.windows calls
> > here).
> > The extension saved the returned value from the window.open call,
> > which is the window object.
>
> > How can the extension (background HTML) change the URL on that created
> > window?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---