Context: NoScript blocks inline scripts by using a content security policy.
Is it possible, for a Firefox extension, to walk the DOM and selectively pick out scripts to allow, after blocking all of it with a CSP?
For example, walking the DOM to remove disallowed scripts, then somehow making Firefox execute all the remaining scripts?
I'm not sure how to execute these scripts in the context of the page rather than in the context of the extension.