I’m new to Addons and not to familiar with JS but I manedged to get a basic addon running. Now what I would like to do is import the openpgp.min.js and then call some of it’s functions to enc/dec.
So far I have tried loading the script into my main.js file which I can’t seem to call annt then I added it into the manifest.json at the section ‘content_scripts -> js section’.
So far I have been testing things in my Console but I got the feeling that I cannot access the scope of addons via the console. Can I?
This leads me to belive that the addons properties and methods can’t be called from the console so if that is the case? Is there some tool/s in which I can develope an addon but can also test it by calling methods and vars in a console?