You can do that only into contentScript.

window.location in toolstrip not affect the browser tab, only the
toolstrip, toolstrip is an html, same as website.

Or you can see:
http://dev.chromium.org/developers/design-documents/extensions/tabs-api

On Aug 27, 4:23 pm, The Sailor <[email protected]> wrote:
> In my toolstrip html, i have a function being called on the onload of
> the body. Inside this function, the window.open("url"); works good...
> but the window.location="url"; doesn't work .... any suggestions on
> how to get the url opened on the same brower window (tab) from the
> toolstrip html ? .... the window.location works fine from the
> contentscript !
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to