I m trying to "port" my Chrome-extension to Opera. My extension does nothing else but edits the DOM a little bit. In Chrome extension I use contentscript and based on my research the similar way for Opera is injected scripts. Anyway, the documentation doesn t really tell how should I use injected scripts.
I have the js-file in includes/
but seems like it doesn t include automatically. I also need to specify domains to inject the script on.
Currently my file has this content for testing purposes:
window.addEventListener( load , function() {
alert( asd );
});
Any help is appreciated :)