Is this what nscl service/DocStartInjection.js provides?barbaz wrote: ↑Fri Apr 21, 2023 10:56 pmbump.barbaz wrote: ↑Thu Sep 22, 2022 3:43 pm I have some extensions that use contentScripts.register() with string code so that dynamically-set variables can be passed to a content script that's reliably run at document-start before any page script can run. What is the (Firefox) Manifest V3 way to achieve this?
I did find scripting.executeScript's "func" parameter for one-off "later" injections of this type. But still can't find any API that can do similar reliably at document_start, i.e. run in a page definitely prior to any page's code?
DocStartInjection.js is it for Manifest v3?
DocStartInjection.js is it for Manifest v3?
From viewtopic.php?p=106806#p106806 -
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0