Closed steinybot closed 2 years ago
This is probably unnecessary. We can just add to the window object instead.
Would be nice if there was a way to assign the result of the IIFE to a global variable but AFAIK there is no way to do that with rollup.
I would recommend opening this again as the IIFE destroys MV3 event handlers on background service workers that must be at the top level of the file.
I'd find these changes very useful!
Fixes #17