Urls treated as relative urls when using chrome-extension link?

Posted by Cyclone on Stack Overflow See other posts from Stack Overflow or by Cyclone
Published on 2010-06-06T03:18:22Z Indexed on 2010/06/06 3:22 UTC
Read the original article Hit count: 318

I use chrome.extension.getURL for a file, and on the page it is placed, it treats it as a relative url (e.g. http://example.com/chrome-extension://ajs8dh8dsfauhdf8auhaffh/blah.js)

How can I make it treat it as an absolute URL instead? It is placed into the href component of a tag.

© Stack Overflow or respective owner

Related posts about html

Related posts about google-chrome-extension