{"id":597,"date":"2010-07-16T11:51:06","date_gmt":"2010-07-16T03:51:06","guid":{"rendered":""},"modified":"2014-03-11T22:32:07","modified_gmt":"2014-03-11T14:32:07","slug":"javascript%e4%b8%ad%e6%9c%80%e5%b8%b8%e7%94%a8%e7%9a%8455%e4%b8%aa%e7%bb%8f%e5%85%b8%e6%8a%80%e5%b7%a7%ef%bc%881-40%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2010\/07\/16\/597.htm","title":{"rendered":"Javascript\u4e2d\u6700\u5e38\u7528\u768455\u4e2a\u7ecf\u5178\u6280\u5de7\uff081-40\uff09"},"content":{"rendered":"<p>Javascript\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\u8d77\u5230\u5f88\u5173\u952e\u7684\u4f5c\u7528\uff0c\u662f\u7f51\u9875\u5f00\u53d1\u4eba\u5458\u5fc5\u987b\u5b66\u4e60\u7684\u4e00\u79cd\u6280\u672f\uff01<\/p>\n<p>\u8fd9\u91cc\u641c\u96c6\u4e86\u4e00\u4e9b\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\u5e38\u7528\u7684Javascript\u4ee3\u7801\uff0c\u548c\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\uff01<\/p>\n<p><strong>1. \u5c06\u5f7b\u5e95\u5c4f\u853d\u9f20\u6807\u53f3\u952e&nbsp;<\/strong> oncontextmenu=&quot;window.event.returnValue=false&quot; <br \/>\n&lt;table border oncontextmenu=return(false)&gt; &lt;td&gt;no &lt;\/table&gt; \u53ef\u7528\u4e8eTable <\/p>\n<p><strong>2. \u53d6\u6d88\u9009\u53d6\u3001\u9632\u6b62\u590d\u5236<\/strong> &lt;body onselectstart=&quot;return false&quot;&gt; <\/p>\n<p><strong>3. \u4e0d\u51c6\u7c98\u8d34<\/strong> onpaste=&quot;return false&quot; <\/p>\n<p><strong>4. \u9632\u6b62\u590d\u5236<\/strong> oncopy=&quot;return false;&quot; oncut=&quot;return false;&quot;&nbsp; <\/p>\n<p><strong>5. IE\u5730\u5740\u680f\u524d\u6362\u6210\u81ea\u5df1\u7684\u56fe\u6807 <\/strong>&lt;link rel=&quot;Shortcut Icon&quot; href=&quot;favicon.ico&quot;&gt;&nbsp; <\/p>\n<p><strong>6.\u53ef\u4ee5\u5728\u6536\u85cf\u5939\u4e2d\u663e\u793a\u51fa\u4f60\u7684\u56fe\u6807 <\/strong>&lt;link rel=&quot;Bookmark&quot; href=&quot;favicon.ico&quot;&gt;&nbsp; <\/p>\n<p>\n<strong>7.\u5173\u95ed\u8f93\u5165\u6cd5 <\/strong>&lt;input style=&quot;ime-mode:disabled&quot;&gt;&nbsp; <\/p>\n<p>\n<strong>8. \u6c38\u8fdc\u90fd\u4f1a\u5e26\u7740\u6846\u67b6 <br \/>\n<\/strong>&lt;script language=&quot;JavaScript&quot;&gt; &lt;!&#8211; <br \/>\nif (window == top)top.location.href = &quot;frames.htm&quot;; \/\/frames.htm\u4e3a\u6846\u67b6\u7f51\u9875 <br \/>\n\/\/ &#8211;&gt; &lt;\/script&gt; <\/p>\n<p>\n<strong>9. \u9632\u6b62\u88ab\u4ebaframe <br \/>\n<\/strong>&lt;SCRIPT LANGUAGE=JAVASCRIPT&gt; &lt;!&#8211; <br \/>\nif (top.location != self.location)top.location=self.location; <br \/>\n\/\/ &#8211;&gt; &lt;\/SCRIPT&gt; <\/p>\n<p>\n<strong>10. \u7f51\u9875\u5c06\u4e0d\u80fd\u88ab\u53e6\u5b58\u4e3a <\/strong><br \/>\n&lt;noscript&gt; &lt;*** src=&quot;\/*.html&gt;&quot;; &lt;\/***&gt; &lt;\/noscript&gt; <\/p>\n<p>\n<strong>11.\u67e5\u770b\u7f51\u9875\u6e90\u4ee3\u7801 <\/strong><\/p>\n<p>&lt;input type=button value=&quot;\/\u67e5\u770b\u7f51\u9875\u6e90\u4ee3\u7801 <br \/>\nonclick=&quot;window.location = &quot;view-source:&quot;+ &quot;http:\/\/www.pconline.com.cn&quot;&quot;&gt;<\/p>\n<p>\n<strong>12.\u5220\u9664\u65f6\u786e\u8ba4 <\/strong><br \/>\n&lt;a href=&quot;&quot;javascript :if(confirm(&quot;\u786e\u5b9e\u8981\u5220\u9664\u5417?&quot;))location=&quot;boos.asp?&amp;areyou=\u5220\u9664&amp;page=1&quot;&quot;&gt;\u5220\u9664 &lt;\/a&gt; <\/p>\n<p><strong>13. \u53d6\u5f97\u63a7\u4ef6\u7684\u7edd\u5bf9\u4f4d\u7f6e <\/strong><br \/>\n\/\/Javascript <br \/>\n&lt;script language=&quot;Javascript&quot;&gt; <br \/>\nfunction getIE(e){ <br \/>\nvar t=e.offsetTop; <br \/>\nvar l=e.offsetLeft; <br \/>\nwhile(e=e.offsetParent){ <br \/>\nt+=e.offsetTop; <br \/>\nl+=e.offsetLeft; <br \/>\n} <br \/>\nalert(&quot;top=&quot;+t+&quot;\/nleft=&quot;+l); <br \/>\n} <br \/>\n&lt;\/script&gt; <br \/>\n\/\/VBScript <br \/>\n&lt;script language=&quot;VBScript&quot;&gt; &lt;!&#8211; <br \/>\nfunction getIE() <br \/>\ndim t,l,a,b <br \/>\nset a=document.all.img1 <br \/>\nt=document.all.img1.offsetTop <br \/>\nl=document.all.img1.offsetLeft <br \/>\nwhile a.tagName &lt;&gt;&quot;BODY&quot; <br \/>\nset a = a.offsetParent <br \/>\nt=t+a.offsetTop <br \/>\nl=l+a.offsetLeft <br \/>\nwend <br \/>\nmsgbox &quot;top=&quot;&amp;t&amp;chr(13)&amp;&quot;left=&quot;&amp;l,64,&quot;\u5f97\u5230\u63a7\u4ef6\u7684\u4f4d\u7f6e&quot; <br \/>\nend function <br \/>\n&#8211;&gt; &lt;\/script&gt; <\/p>\n<p>\n<strong>14. \u5149\u6807\u662f\u505c\u5728\u6587\u672c\u6846\u6587\u5b57\u7684\u6700\u540e<\/strong> <br \/>\n&lt;script language=&quot;javascript&quot;&gt; <br \/>\nfunction cc() <br \/>\n{ <br \/>\nvar e = event.srcElement; <br \/>\nvar r =e.createTextRange(); <br \/>\nr.moveStart(&quot;character&quot;,e.value.length); <br \/>\nr.collapse(true); <br \/>\nr.select(); <br \/>\n} <br \/>\n&lt;\/script&gt; <br \/>\n&lt;input type=text name=text1 value=&quot;123&quot; onfocus=&quot;cc()&quot;&gt; <\/p>\n<p>\n<strong>15. \u5224\u65ad\u4e0a\u4e00\u9875\u7684\u6765\u6e90 <br \/>\n<\/strong>javascript : <br \/>\ndocument.referrer <\/p>\n<p>\n<strong>16. \u6700\u5c0f\u5316\u3001\u6700\u5927\u5316\u3001\u5173\u95ed\u7a97\u53e3 <br \/>\n<\/strong>&lt;object id=hh1 classid=&quot;clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11&quot;&gt; <br \/>\n&lt;param name=&quot;Command&quot; value=&quot;Minimize&quot;&gt; &lt;\/object&gt; <br \/>\n&lt;object id=hh2 classid=&quot;clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11&quot;&gt; <br \/>\n&lt;param name=&quot;Command&quot; value=&quot;Maximize&quot;&gt; &lt;\/object&gt; <br \/>\n&lt;OBJECT id=hh3 classid=&quot;clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11&quot;&gt; <br \/>\n&lt;PARAM NAME=&quot;Command&quot; value=&quot;\/Close&quot;&gt; &lt;\/OBJECT&gt; <br \/>\n&lt;input type=button value=&quot;\/\u6700\u5c0f\u5316 onclick=hh1.Click()&gt; <br \/>\n&lt;input type=button value=&quot;\/blog\/\u6700\u5927\u5316 onclick=hh2.Click()&gt; <br \/>\n&lt;input type=button value=\u5173\u95ed onclick=hh3.Click()&gt; <br \/>\n\u672c\u4f8b\u9002\u7528\u4e8eIE <\/p>\n<p>\n<strong>17.\u5c4f\u853d\u529f\u80fd\u952eShift,Alt,Ctrl <br \/>\n<\/strong>&lt;script&gt; <br \/>\nfunction look(){ <br \/>\nif(event.shiftKey) <br \/>\nalert(&quot;\u7981\u6b62\u6309Shift\u952e!&quot;); \/\/\u53ef\u4ee5\u6362\u6210ALT\u3000CTRL <br \/>\n} <br \/>\ndocument.onkeydown=look; <br \/>\n&lt;\/script&gt; <\/p>\n<p>\n<strong>18. \u7f51\u9875\u4e0d\u4f1a\u88ab\u7f13\u5b58<\/strong> <br \/>\n&lt;META HTTP-EQUIV=&quot;pragma&quot; CONTENT=&quot;no-cache&quot;&gt; <br \/>\n&lt;META HTTP-EQUIV=&quot;Cache-Control&quot; CONTENT=&quot;no-cache, must-revalidate&quot;&gt; <br \/>\n&lt;META HTTP-EQUIV=&quot;expires&quot; CONTENT=&quot;Wed, 26 Feb 1997 08:21:57 GMT&quot;&gt; <br \/>\n\u6216\u8005 &lt;META HTTP-EQUIV=&quot;expires&quot; CONTENT=&quot;0&quot;&gt; <\/p>\n<p>\n<strong>19.\u600e\u6837\u8ba9\u8868\u5355\u6ca1\u6709\u51f9\u51f8\u611f\uff1f<\/strong> <br \/>\n&lt;input type=text style=&quot;&quot;&quot;border:1 solid #000000&quot;&gt; <br \/>\n\u6216 <br \/>\n&lt;input type=text style=&quot;border-left:none; border-right:none; border-top:none; border-bottom: <br \/>\n1 solid #000000&quot;&gt; &lt;\/textarea&gt; <\/p>\n<p>\n<strong>20. &lt;div&gt; &lt;span&gt;&amp; &lt;layer&gt;\u7684\u533a\u522b\uff1f <br \/>\n<\/strong>&lt;div&gt;(division)\u7528\u6765\u5b9a\u4e49\u5927\u6bb5\u7684\u9875\u9762\u5143\u7d20\uff0c\u4f1a\u4ea7\u751f\u8f6c\u884c <br \/>\n&lt;span&gt;\u7528\u6765\u5b9a\u4e49\u540c\u4e00\u884c\u5185\u7684\u5143\u7d20\uff0c\u8ddf &lt;div&gt;\u7684\u552f\u4e00\u533a\u522b\u662f\u4e0d\u4ea7\u751f\u8f6c\u884c <br \/>\n&lt;layer&gt;\u662fns\u7684\u6807\u8bb0\uff0cie\u4e0d\u652f\u6301\uff0c\u76f8\u5f53\u4e8e &lt;div&gt; <\/p>\n<p>\n<strong>21.\u8ba9\u5f39\u51fa\u7a97\u53e3\u603b\u662f\u5728\u6700\u4e0a\u9762: <br \/>\n<\/strong>&lt;body onblur=&quot;this.focus();&quot;&gt; <\/p>\n<p>\n<strong>22.\u4e0d\u8981\u6eda\u52a8\u6761? <\/strong><br \/>\n\u8ba9\u7ad6\u6761\u6ca1\u6709: <br \/>\n&lt;body style=&quot;overflow:scroll;overflow-y:hidden&quot;&gt; <br \/>\n&lt;\/body&gt; <br \/>\n\u8ba9\u6a2a\u6761\u6ca1\u6709: <br \/>\n&lt;body style=&quot;overflow:scroll;overflow-x:hidden&quot;&gt; <br \/>\n&lt;\/body&gt; <br \/>\n\u4e24\u4e2a\u90fd\u53bb\u6389\uff1f\u66f4\u7b80\u5355\u4e86 <br \/>\n&lt;body scroll=&quot;no&quot;&gt; <br \/>\n&lt;\/body&gt; <\/p>\n<p>\n<strong>23.\u600e\u6837\u53bb\u6389\u56fe\u7247\u94fe\u63a5\u70b9\u51fb\u540e\uff0c\u56fe\u7247\u5468\u56f4\u7684\u865a\u7ebf\uff1f <\/strong><br \/>\n&lt;a href=&quot;#&quot; onFocus=&quot;this.blur()&quot;&gt; &lt;img src=&quot;\/logo.jpg&quot; border=0&gt; &lt;\/a&gt; <\/p>\n<p>\n<strong>24.\u7535\u5b50\u90ae\u4ef6\u5904\u7406\u63d0\u4ea4\u8868\u5355<\/strong> <br \/>\n&lt;form name=&quot;form1&quot; method=&quot;post&quot; action=mailto:****@***.com <br \/>\nenctype=&quot;text\/plain&quot;&gt; <br \/>\n&lt;input type=submit&gt; <br \/>\n&lt;\/form&gt; <\/p>\n<p>\n<strong>25.\u5728\u6253\u5f00\u7684\u5b50\u7a97\u53e3\u5237\u65b0\u7236\u7a97\u53e3\u7684\u4ee3\u7801\u91cc\u5982\u4f55\u5199\uff1f<\/strong> <br \/>\nwindow.opener.location.reload() <\/p>\n<p>\n<strong>26.\u5982\u4f55\u8bbe\u5b9a\u6253\u5f00\u9875\u9762\u7684\u5927\u5c0f<\/strong> <br \/>\n&lt;body onload=&quot;top.resizeTo(300,200);&quot;&gt; <br \/>\n\u6253\u5f00\u9875\u9762\u7684\u4f4d\u7f6e &lt;body onload=&quot;top.moveBy(300,200);&quot;&gt; <\/p>\n<p>\n<strong>27.\u5728\u9875\u9762\u4e2d\u5982\u4f55\u52a0\u5165\u4e0d\u662f\u6ee1\u94fa\u7684\u80cc\u666f\u56fe\u7247,\u62c9\u52a8\u9875\u9762\u65f6\u80cc\u666f\u56fe\u4e0d\u52a8<\/strong> <br \/>\n&lt;STYLE&gt; <br \/>\nbody <br \/>\n{background-image:url(\/logo.gif); background-repeat:no-repeat; <br \/>\nbackground-position:center;background-attachment: fixed} <br \/>\n&lt;\/STYLE&gt; <\/p>\n<p>\n<strong>28. \u68c0\u67e5\u4e00\u6bb5\u5b57\u7b26\u4e32\u662f\u5426\u5168\u7531\u6570\u5b57\u7ec4\u6210 <br \/>\n<\/strong>&lt;script language=&quot;Javascript&quot;&gt; &lt;!&#8211; <br \/>\nfunction checkNum(str){return str.match(\/\/D\/)==null} <br \/>\nalert(checkNum(&quot;1232142141&quot;)) <br \/>\nalert(checkNum(&quot;123214214a1&quot;)) <br \/>\n\/\/ &#8211;&gt; &lt;\/script&gt; <\/p>\n<p>\n<strong>29. \u83b7\u5f97\u4e00\u4e2a\u7a97\u53e3\u7684\u5927\u5c0f<\/strong> <br \/>\ndocument.body.clientWidth; document.body.clientHeight <\/p>\n<p>\n<strong>30. \u600e\u4e48\u5224\u65ad\u662f\u5426\u662f\u5b57\u7b26 <\/strong><br \/>\nif (\/[^\/x00-\/xff]\/g.test(s)) alert(&quot;\u542b\u6709\u6c49\u5b57&quot;); <br \/>\nelse alert(&quot;\u5168\u662f\u5b57\u7b26&quot;);&nbsp;<br \/>\n&nbsp;<\/p>\n<p><strong>31.TEXTAREA\u81ea\u9002\u5e94\u6587\u5b57\u884c\u6570\u7684\u591a\u5c11 <br \/>\n<\/strong>&lt;textarea rows=1 name=s1 cols=27 onpropertychange <br \/>\n=&quot;this.style.posHeight=this.scrollHeight&quot;&gt; <br \/>\n&lt;\/textarea&gt; <\/p>\n<p>\n<strong>32. \u65e5\u671f\u51cf\u53bb\u5929\u6570\u7b49\u4e8e\u7b2c\u4e8c\u4e2a\u65e5\u671f <br \/>\n<\/strong>&lt;script language=Javascript&gt; <br \/>\nfunction cc(dd,dadd) <br \/>\n{ <br \/>\n\/\/\u53ef\u4ee5\u52a0\u4e0a\u9519\u8bef\u5904\u7406 <br \/>\nvar a = new Date(dd) <br \/>\na = a.valueOf() <br \/>\na = a &#8211; dadd * 24 * 60 * 60 * 1000 <br \/>\na = new Date(a) <br \/>\nalert(a.getFullYear() + &quot;\u5e74&quot; + (a.getMonth() + 1) + &quot;\u6708&quot; + a.getDate() + &quot;\u65e5&quot;) <br \/>\n} <br \/>\ncc(&quot;12\/23\/2002&quot;,2) <br \/>\n&lt;\/script&gt; <\/p>\n<p>\n<strong>33. \u9009\u62e9\u4e86\u54ea\u4e00\u4e2aRadio <br \/>\n<\/strong>&lt;HTML&gt; &lt;script language=&quot;vbscript&quot;&gt; <br \/>\nfunction checkme() <br \/>\nfor each ob in radio1 <br \/>\nif ob.checked then <br \/>\nwindow.alert ob.value <br \/>\nnext <br \/>\nend function <br \/>\n&lt;\/script&gt; &lt;BODY&gt; <br \/>\n&lt;INPUT name=&quot;radio1&quot; type=&quot;radio&quot; value=&quot;\/style&quot; checked&gt;Style <br \/>\n&lt;INPUT name=&quot;radio1&quot; type=&quot;radio&quot; value=&quot;\/blog\/barcode&quot;&gt;Barcode <br \/>\n&lt;INPUT type=&quot;button&quot; value=&quot;check&quot; onclick=&quot;checkme()&quot;&gt; <br \/>\n&lt;\/BODY&gt; &lt;\/HTML&gt; <\/p>\n<p>\n<strong>34.\u811a\u672c\u6c38\u4e0d\u51fa\u9519<\/strong> <br \/>\n&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt; <br \/>\n&lt;!&#8211; Hide <br \/>\nfunction killErrors() { <br \/>\nreturn true; <br \/>\n} <br \/>\nwindow.onerror = killErrors; <br \/>\n\/\/ &#8211;&gt; <br \/>\n&lt;\/SCRIPT&gt; <\/p>\n<p>\n<strong>35.ENTER\u952e\u53ef\u4ee5\u8ba9\u5149\u6807\u79fb\u5230\u4e0b\u4e00\u4e2a\u8f93\u5165\u6846 <\/strong><br \/>\n&lt;input onkeydown=&quot;if(event.keyCode==13)event.keyCode=9&quot;&gt; <\/p>\n<p>\n<strong>36. \u68c0\u6d4b\u67d0\u4e2a\u7f51\u7ad9\u7684\u94fe\u63a5\u901f\u5ea6\uff1a<\/strong> <br \/>\n\u628a\u5982\u4e0b\u4ee3\u7801\u52a0\u5165 &lt;body&gt;\u533a\u57df\u4e2d: <br \/>\n&lt;script language=Javascript&gt; <br \/>\ntim=1 <br \/>\nsetInterval(&quot;tim++&quot;,100) <br \/>\nb=1 <br \/>\nvar autourl=new Array() <br \/>\nautourl[1]=1000){this.resized=true;this.style.width=1000;}&quot; align=absMiddle border=0&gt;www.njcatv.net&quot; <br \/>\nautourl[2]=&quot;javacool.3322.net&quot; <br \/>\nautourl[3]=1000){this.resized=true;this.style.width=1000;}&quot; align=absMiddle border=0&gt;www.sina.com.cn&quot; <br \/>\nautourl[4]=&quot;www.nuaa.edu.cn&quot; <br \/>\nautourl[5]=1000){this.resized=true;this.style.width=1000;}&quot; align=absMiddle border=0&gt;www.cctv.com&quot; <br \/>\nfunction butt(){ <br \/>\n***(&quot; &lt;form name=autof&gt;&quot;) <br \/>\nfor(var i=1;i &lt;autourl.length;i++) <br \/>\n***(&quot; &lt;input type=text name=txt&quot;+i+&quot; size=10 value=&quot;\/\u6d4b\u8bd5\u4e2d&hellip;&hellip;&gt; =\u300b &lt;input type=text <br \/>\nname=url&quot;+i+&quot; size=40&gt; =\u300b &lt;input type=button value=&quot;\/blog\/GO <br \/>\nonclick=window.open(this.form.url&quot;+i+&quot;.value)&gt; &lt;br&gt;&quot;) <br \/>\n***(&quot; &lt;input type=submit value=\u5237\u65b0&gt; &lt;\/form&gt;&quot;) <br \/>\n} <br \/>\nbutt() <br \/>\nfunction auto(url){ <br \/>\ndocument.forms[0][&quot;url&quot;+b].value=url <br \/>\nif(tim&gt;200) <br \/>\n{document.forms[0][&quot;txt&quot;+b].value=&quot;\/\u94fe\u63a5\u8d85\u65f6&quot;} <br \/>\nelse <br \/>\n{document.forms[0][&quot;txt&quot;+b].value=&quot;\/blog\/\u65f6\u95f4&quot;+tim\/10+&quot;\u79d2&quot;} <br \/>\nb++ <br \/>\n} <br \/>\nfunction run(){for(var i=1;i &lt;autourl.length;i++)***(&quot; &lt;img src=http:\/\/&quot;+autourl+&quot;\/&quot;+Math.random()+&quot; width=1 height=1 <br \/>\nonerror=auto(&quot;http:\/\/&quot;+autourl+&quot;&quot;)&gt;&quot;)} <br \/>\nrun() &lt;\/script&gt; <\/p>\n<p>\n<strong>37. \u5404\u79cd\u6837\u5f0f\u7684\u5149\u6807 <br \/>\n<\/strong>auto \uff1a\u6807\u51c6\u5149\u6807 <br \/>\ndefault \uff1a\u6807\u51c6\u7bad\u5934 <br \/>\nhand \uff1a\u624b\u5f62\u5149\u6807 <br \/>\nwait \uff1a\u7b49\u5f85\u5149\u6807 <br \/>\ntext \uff1aI\u5f62\u5149\u6807 <br \/>\nvertical-text \uff1a\u6c34\u5e73I\u5f62\u5149\u6807 <br \/>\nno-drop \uff1a\u4e0d\u53ef\u62d6\u52a8\u5149\u6807 <br \/>\nnot-allowed \uff1a\u65e0\u6548\u5149\u6807 <br \/>\nhelp \uff1a?\u5e2e\u52a9\u5149\u6807 <br \/>\nall-scroll \uff1a\u4e09\u89d2\u65b9\u5411\u6807 <br \/>\nmove \uff1a\u79fb\u52a8\u6807 <br \/>\ncrosshair \uff1a\u5341\u5b57\u6807 <br \/>\ne-resize <br \/>\nn-resize <br \/>\nnw-resize <br \/>\nw-resize <br \/>\ns-resize <br \/>\nse-resize <br \/>\nsw-resize <\/p>\n<p>\n<strong>38.\u9875\u9762\u8fdb\u5165\u548c\u9000\u51fa\u7684\u7279\u6548 <\/strong><br \/>\n\u8fdb\u5165\u9875\u9762 &lt;meta http-equiv=&quot;Page-Enter&quot; content=&quot;revealTrans(duration=x, transition=y)&quot;&gt; <br \/>\n\u63a8\u51fa\u9875\u9762 &lt;meta http-equiv=&quot;Page-Exit&quot; content=&quot;revealTrans(duration=x, transition=y)&quot;&gt;&nbsp; <br \/>\n\u8fd9\u4e2a\u662f\u9875\u9762\u88ab\u8f7d\u5165\u548c\u8c03\u51fa\u65f6\u7684\u4e00\u4e9b\u7279\u6548\u3002duration\u8868\u793a\u7279\u6548\u7684\u6301\u7eed\u65f6\u95f4\uff0c\u4ee5\u79d2\u4e3a\u5355\u4f4d\u3002transition\u8868\u793a\u4f7f\u7528\u54ea\u79cd\u7279\u6548\uff0c\u53d6\u503c\u4e3a1-23: <br \/>\n\u3000\u30000 \u77e9\u5f62\u7f29\u5c0f <br \/>\n\u3000\u30001 \u77e9\u5f62\u6269\u5927 <br \/>\n\u3000\u30002 \u5706\u5f62\u7f29\u5c0f <br \/>\n\u3000\u30003 \u5706\u5f62\u6269\u5927 <br \/>\n\u3000\u30004 \u4e0b\u5230\u4e0a\u5237\u65b0 <br \/>\n\u3000\u30005 \u4e0a\u5230\u4e0b\u5237\u65b0 <br \/>\n\u3000\u30006 \u5de6\u5230\u53f3\u5237\u65b0 <br \/>\n\u3000\u30007 \u53f3\u5230\u5de6\u5237\u65b0 <br \/>\n\u3000\u30008 \u7ad6\u767e\u53f6\u7a97 <br \/>\n\u3000\u30009 \u6a2a\u767e\u53f6\u7a97 <br \/>\n\u3000\u300010 \u9519\u4f4d\u6a2a\u767e\u53f6\u7a97 <br \/>\n\u3000\u300011 \u9519\u4f4d\u7ad6\u767e\u53f6\u7a97 <br \/>\n\u3000\u300012 \u70b9\u6269\u6563 <br \/>\n\u3000\u300013 \u5de6\u53f3\u5230\u4e2d\u95f4\u5237\u65b0 <br \/>\n\u3000\u300014 \u4e2d\u95f4\u5230\u5de6\u53f3\u5237\u65b0 <br \/>\n\u3000\u300015 \u4e2d\u95f4\u5230\u4e0a\u4e0b <br \/>\n\u3000\u300016 \u4e0a\u4e0b\u5230\u4e2d\u95f4 <br \/>\n\u3000\u300017 \u53f3\u4e0b\u5230\u5de6\u4e0a <br \/>\n\u3000\u300018 \u53f3\u4e0a\u5230\u5de6\u4e0b <br \/>\n\u3000\u300019 \u5de6\u4e0a\u5230\u53f3\u4e0b <br \/>\n\u3000\u300020 \u5de6\u4e0b\u5230\u53f3\u4e0a <br \/>\n\u3000\u300021 \u6a2a\u6761 <br \/>\n\u3000\u300022 \u7ad6\u6761 <br \/>\n\u3000\u300023 \u4ee5\u4e0a22\u79cd\u968f\u673a\u9009\u62e9\u4e00\u79cd <\/p>\n<p>\n<strong>39.\u5728\u89c4\u5b9a\u65f6\u95f4\u5185\u8df3\u8f6c <br \/>\n<\/strong>&lt;META http-equiv=V=&quot;REFRESH&quot; content=&quot;5;URL=http:\/\/www.51js.com&quot;&gt; <\/p>\n<p>\n<strong>40.\u7f51\u9875\u662f\u5426\u88ab\u68c0\u7d22 <\/strong><br \/>\n&lt;meta name=&quot;ROBOTS&quot; content=&quot;\u5c5e\u6027\u503c&quot;&gt; <br \/>\n\u3000\u3000\u5176\u4e2d\u5c5e\u6027\u503c\u6709\u4ee5\u4e0b\u4e00\u4e9b: <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;all&quot;: \u6587\u4ef6\u5c06\u88ab\u68c0\u7d22\uff0c\u4e14\u9875\u4e0a\u94fe\u63a5\u53ef\u88ab\u67e5\u8be2\uff1b <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;none&quot;: \u6587\u4ef6\u4e0d\u88ab\u68c0\u7d22\uff0c\u800c\u4e14\u4e0d\u67e5\u8be2\u9875\u4e0a\u7684\u94fe\u63a5\uff1b <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;index&quot;: \u6587\u4ef6\u5c06\u88ab\u68c0\u7d22\uff1b <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;follow&quot;: \u67e5\u8be2\u9875\u4e0a\u7684\u94fe\u63a5\uff1b <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;noindex&quot;: \u6587\u4ef6\u4e0d\u68c0\u7d22\uff0c\u4f46\u53ef\u88ab\u67e5\u8be2\u94fe\u63a5\uff1b <br \/>\n\u3000\u3000\u5c5e\u6027\u503c\u4e3a&quot;nofollow&quot;: \u6587\u4ef6\u4e0d\u88ab\u68c0\u7d22\uff0c\u4f46\u53ef\u67e5\u8be2\u9875\u4e0a\u7684\u94fe\u63a5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Javascript\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\u8d77\u5230\u5f88\u5173\u952e\u7684\u4f5c\u7528\uff0c\u662f\u7f51\u9875\u5f00\u53d1\u4eba\u5458\u5fc5\u987b\u5b66\u4e60\u7684\u4e00\u79cd\u6280\u672f\uff01 \u8fd9\u91cc\u641c\u96c6\u4e86\u4e00\u4e9b\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\u5e38\u7528\u7684Javascript\u4ee3\u7801\uff0c\u548c\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\uff01 1. \u5c06\u5f7b\u5e95\u5c4f\u853d\u9f20\u6807\u53f3\u952e&nbsp; oncontextmenu=&quot;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-597","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=597"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions"}],"predecessor-version":[{"id":66451,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions\/66451"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=597"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=597"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}