JSFiddle - React, Tailwind, and code Playground
by skaurus
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Test case for jQuery ticket #10067</title>
<script type="text/javascript">
// fires very fast because of very simple DOM
document.addEventListener( "DOMContentLoaded", function () {
console.log('browser DOMContentLoaded fired, document.readyState now is ' + document.readyState);
}, false );
// injects jQuery. Fires after DOMContentLoaded event
setTimeout(function () {
var el = document.createElement('script');
el.type = 'text/javascript';
el.onload = function () {
console.log('jquery script loaded, document.readyState now is ' + document.readyState);
// will never fire in FF5
$(document).ready(function () { console.log('jquery ready fired') });
}
document.getElementsByTagName('head')[0].appendChild(el);
el.src = 'http://code.jquery.com/jquery-1.6.2.js?' + Math.random();
}, 1000);
</script>
</head>
<body>
<!-- ever loading iframe -->
<iframe src="http://www.forbes.ru/ekonomika-column/71934-dlya-maloletnih-maroderov-londona-pogromy-ochen-klevo-rasskaz-ochevidtsa" style="width: 1px; height: 1px"></iframe>
</body>
</html>