There is a cool feature on modern browsers that When the browser is blocked on a script, a second lightweight parser scans the rest of the markup looking for other resources e.g. stylesheets, scripts, images etc., that also need to be retrieved. How can I have a script block that simply blocks the lookahead/preloading of resources until this script block has finished executing.
I suggest a <script sync>
attribute that should do just this…