How do inject a script into a website *before* the first script on this website is able to run?
8472-mozaddons at infinite-source.de
Tue Aug 15 16:07:31 UTC 2017
On 15.08.2017 18:00, Manuel Reimer wrote:
> It actually works if I place my whole code directly inside my content-script.
You really should not load things via a <script> tag when you actually want to run it as content-script. Those are separate security scopes.
If you just want to load some library into the content script context before your page script loads specify both in the manifest, it takes an array
More information about the Dev-addons