[whatwg] Apply script.defer to internal scripts
gerv at mozilla.org
Thu Mar 29 01:57:47 PDT 2007
Alexey Feldgendler wrote:
> What's wrong with simply placing it after </body>?
It may be in the future that the location of the script within the page
affects its security status.
(Or, to put it another way, authors may wish to put all their script
e.g. within the <head> to allow them to use XSS mitigation measures.)
Therefore, we should try, as far as possible, not to impose restrictions
which dictate where in the page a particular script needs to be.
More information about the whatwg