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.
EDIT: I've seen people's plugins do this for CSS, so I know it is possible. Maybe not for href
attributes?