onezeronull.com
Using AJAX head-type requests to check size of remote scripts
Checking size for inline scripts is as easy as document.getElementsByTagName(‘script’)[0].text.length (solution taken from here). But, when it comes to measuring size of remote resource…