日期:2014-05-16 浏览次数:20368 次
<script src='http://l.me/1.js'></script>
document.write('<script src="http://l.me/1.js"><\/script>');
var s = document.createElement('script'); s.setAttribute('src', 'http://l.me/1.js'); document.head.appendChild(s);
<script src='http://l.me/1.js' defer='defer'></script>
<html> <head><title>test document.write</title> <script> var G_top = +new Date; </script> </head> <body> <script src='http://l.me/1.js'></script> <script> //document.write('<script src="http://l.me/1.js"><\/script>'); /* var s = document.createElement('script'); s.setAttribute('src', 'http://l.me/1.js'); document.head.appendChild(s); */ window.addEventListener('DOMContentLoaded', function (){alert(+new Date - G_top)}); </script> </body> </html>