How to Get a Reference to the Currently Executing Script in JavaScript

This guide will show you how to get a reference to the script element that is currently executing JavaScript code… Read more

Similar

Asynchronous vs. Deferred JavaScript

In my article on Understanding the Critical Rendering Path, I wrote about the effect JavaScript files have on the Critical Rendering Path. JavaScript is considered a "parser blocking resource". This means that the parsing of the HTML document itself i... (more…)

Read more »