News for hackers. Stuff that matters.
Re:No to Chrome by playpause on Friday December 06, 2019 @10:15AM (#21722461)
No, each context can contain multiple scripts. Each browser tab has a single top-level context called 'top', plus it will have extra contexts for any frames or iframes within the page, as well as for any browser extensions running on the page.

Only script elements in the HTML of the top-level page (i.e. in the HTML served directly from the URL you see in the location bar) get to be in the 'top' context.

There are no comments on this comment yet.