Working on an Opera extension, but…
The implementation of Opera’s extension API is terrible, and the documentation is even worse.
I need to know how to:
- Get a URL for an image inside the extension to add to a page using an injected script
In Chrome, you can use chrome.extension.getURL(…)
In Safari, it’s safari.extension.baseURI
In Firefox (Jetpack SDK), you can pass the return value of data.url(“”) to an injected script via a message.
At the moment, I have NO idea how to accomplish this in Opera. It is a major barrier to porting Missing e.
Anybody know how to do this?
15 Notes/ Hide
- sassy-holly liked this
- penthesilea-bellatrix-blog liked this
- bjornstar answered: console.log(opera.extension.bgProcess.location);
- ducksdimpleddelusions-blog answered: I’m still trying to figure out why my Window Explorer hates me so much….
- dinobearthemighty liked this