You can't directly navigate a popup to a non-extension URL.  If you need to
do this, you can use an iframe.

Erik


On Tue, Dec 8, 2009 at 10:31 AM, Joe <[email protected]> wrote:

> Hi,
>
> I have an extension that brings up a popup window when the icon is
> clicked.  I'd like the content of that window to come from my server.
> So I have:
>
> <head>
> <script>
> function sw() {
>    // get hostname from current tab?
>    var hostname =  window.location.hostname;
>        // i want the content of the popup window to have content from this
> url:
>    window.location.href= "http://myblahblah.com/blah/"; +
> hostname;
> }
>
> sw();
> </script>
> </head>
> <body>
> do i even need this?
> </body>
>
> The code above is not working.  What am I missing?
>
> thanks,
> -joe
>
> --
>
> 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]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>

--

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