by mediumdeviation · 10y ago · 0 comments
Original script:
<script>
location.href="http://google.com";
</script>
New script <script>
// oops! forgot to remove this
// location.href="http://google.com";
</script>
You'll want to make sure you have the right version in place before you try to run either of them.Images would be safe.
Or an alternate plan, start rendering, but do not run the javascript until the resource checks for css+js files return. It would slow things down some more, but not as much as waiting for everything.
body
{
background:blue;
}
After: body {}
It would play out similar to the Flash of Unstyled Content issue, but substituting "unpredictably wacky" for "unstyled".