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 chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to