弹窗:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
/*css代码*/
</style>
<script>
<!--//javascript代码-->
alert(8888);
</script>
</head>
<body>
</body>
</html>
javascrip导入:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="commons.js"></script>
<!--<script>-->
<!--<!–//javascript代码–>-->
<!--// alert(8888);-->
<!--</script>-->
</head>
<body>
</body>
</html>
javascrip文件
alert(8888);
<script type="text/javascript"> <!--//javascript代码--> alert(8888); </script>
javascript代码支持远程链接
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>asdf</h1> <h1>asdf</h1> <h1>asdf</h1> <h1>asdf</h1> <h1>asdf</h1> <h1>asdf</h1> <h1>asdf</h1> <script src="https://www.gstatic.com/og/_/js/k=og.og2.en_US.iF4jnkQuaf0.O/rt=j/t=zcms/m=def/exm=in,fot/d=1/ed=1/rs=AA2YrTv5-POC4Ks9GtGRdY2ywUWisqz7-Q"></script> <script> function </script> </body> </html>