[whatwg] Behavior when <script> is removed from DOM
bzbarsky at MIT.EDU
Wed Dec 7 12:29:39 PST 2011
On 12/7/11 3:22 PM, Joshua Bell wrote:
> This can't be implemented in JS today (e.g. as a shim) since that "evaluate
> this script text in this new global sandbox" bit isn't present.
It can sort of be done via opening a new window and setting its opener
to null before injecting some <script> tags into it. Modulo popup
blockers and crappy user experience, of course....
More information about the whatwg