Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make Enterprise injection more reliable #2111
I changed the way content scripts are injected. They are no longer injected manually with
2 polyfills and the glue for both (which registers the scripts on new origins) will be extracted into their own modules once verified that this all works.
The only minor bug right now is in Firefox: even if you remove the permission, the scripts will still be injected until the next restart. It's Firefox' bug, nothing asynchronous works after
In no case should there ever be any errors in the console. I dropped a try/catch so the previously-silenced errors should no longer ever happen.