Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Listing 3.3 The script include snippet with separately-defined.

View 3rdparty-Listing3-3.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="./Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
</head>
<body>
 
<p>page starts rendering</p>
<p>script is loading asynchronously ... (in all browsers)</p>
<script type="text/javascript">
(function () {
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = 'http://widget.dev/ThirdPartyjavascript/js/BlockingWidget'
var entry = document.getElementsByTagName('script')[0];
entry.parentNode.insertBefore(script, entry);
} ());
</script>
 
<h1>Welcome</h1>
 
<div data-stork-product="1337" />
 
<hr />
<div data-stork-product="2012" />
 
 
 
<hr />
<p>page has finished rendering</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.