{"id":155,"date":"2017-06-27T11:18:36","date_gmt":"2017-06-27T03:18:36","guid":{"rendered":"https:\/\/blog.lcsoul.cn\/?p=155"},"modified":"2017-06-27T11:18:36","modified_gmt":"2017-06-27T03:18:36","slug":"%e5%b8%b8%e7%94%a8js%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/blog.lcsoul.top\/index.php\/2017\/06\/27\/%e5%b8%b8%e7%94%a8js%e5%8a%9f%e8%83%bd\/","title":{"rendered":"\u5e38\u7528JS\u529f\u80fd"},"content":{"rendered":"<h2>11\u3001\u540e\u9000 \u524d\u8fdb<\/h2>\n<pre class=\"prettyprint linenums\"><input type=\"button\" value=\"\u540e\u9000\" \/>\n<input type=\"button\" value=\"\u524d\u8fdb\" \/>\n<\/pre>\n<h2>12\u3001\u8fd4\u56de<\/h2>\n<pre class=\"prettyprint linenums\" >\n<form><input type=\"button\" value=\"\u8fd4\u56de\u4e0a\u4e00\u6b65\" \/><\/form>\n<\/pre>\n<h2>13\u3001\u67e5\u770b\u6e90\u7801<\/h2>\n<pre class=\"prettyprint linenums\"><input name=\"view\" type=\"button\" value=\"\u67e5\u770b\u6e90\u7801\" \/>\n<\/pre>\n<h2>14\u3001\u7981\u6b62\u67e5\u770b\u6e90\u7801<\/h2>\n<pre class=\"prettyprint linenums\">\n<body oncontextmenu=\"return false\"><\/body>\n<\/pre>\n<h2>15\u3001\u5237\u65b0\u6309\u94ae<\/h2>\n<pre class=\"prettyprint linenums\">1\u3001<input type=\"button\" value=\"\u5237\u65b0\u6309\u94ae\u4e00\" \/>\n<script>function ReloadButton(){location.href=\"i001.htm\";}<\/script>\n2\u3001<input type=\"button\" value=\"\u5237\u65b0\u6309\u94ae\u4e8c\" \/>\n<\/pre>\n<h2>16\u3001\u72b6\u6001\u680f\u4fe1\u606f<\/h2>\n<pre class=\"prettyprint linenums\"><input type=\"button\" value=\"\u72b6\u6001\u680f\u4fe1\u606f\" \/>\n<script>function StatusButton(){window.status=\"\u72b6\u6001\u680f\u4fe1\u606f\";}<\/script>\n<\/pre>\n<h2>17\u3001\u7a97\u53e3\u6700\u5c0f\u5316<\/h2>\n<pre class=\"prettyprint linenums\" >\n<object id=\"min\" type=\"application\/x- oleobject\" classid=\"clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11\">< PARAM name=\"Command\" value=\"Minimize\"><\/object>< button onClick=\"min.Click()\">\u7a97\u53e3\u6700\u5c0f\u5316<\/button>\n<\/pre>\n<h2>18\u3001\u5168\u5c4f\u4ee3\u7801<\/h2>\n<pre class=\"prettyprint linenums\" >\n<input type=\"BUTTON\" name=\"FullScreen\" value=\"\u5168\u5c4f\u663e\u793a\" onClick=\"window.open(document.location, 'butong_net', 'fullscreen')\">\n<\/pre>\n<h2>19\u3001\u5173\u95ed\u7a97\u53e3<\/h2>\n<pre class=\"prettyprint linenums\" >\n1\u3001<object id=closes type=\"application\/x- oleobject\" classid=\"clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11\">< param name=\"Command\" value=\"Close\"><\/object>< input type=\"button\" value=\"\u5173\u95ed\u7a97\u53e3\" onClick=\"closes.Click();\">\n2\u3001<input type=button value=\u5173\u95ed\u7a97\u53e3 onClick=\"javascript:self.close()\">\n<\/pre>\n<h2>20\u3001\u6700\u5927\u5316<\/h2>\n<pre class=\"prettyprint linenums\" >\n<object id=big classid=\"clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11\">\n<param name=\"Command\" value=\"Maximize\"><\/object><input type=button value=\u6700\u5927\u5316 onClick=big.Click()>\n<\/pre>\n<h2>21\u3001\u5173\u95ed\u8f93\u5165\u6cd5<\/h2>\n<pre class=\"prettyprint linenums\" >\n<input style=\"ime-mode:disabled\" value=\u5173\u95ed\u8f93\u5165\u6cd5>\n<\/pre>\n<h2>22\u3001\u8b66\u544a\u6846\u663e\u793a\u6e90\u4ee3\u7801<\/h2>\n<pre class=\"prettyprint linenums\" >\n<button onClick=alert(document.documentElement.outerHTML) style=\"width:110\">\u8b66\u544a\u6846\u663e\u793a\u6e90\u4ee3\u7801<\/button>\n<\/pre>\n<h2>23\u3001\u6253\u5370<\/h2>\n<pre class=\"prettyprint linenums\" >\n<input type=button value='\u6253\u5370' onClick=\"window.print();\">\n<\/pre>\n<h2>24\u3001\u6253\u5370\u9884\u89c8<\/h2>\n<pre class=\"prettyprint linenums\" >\n<object classid=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\" height=0 id=wb name=wb width=0><\/object>\n<input type=button value=\u6253\u5370\u9884\u89c8 onclick=\"wb.execwb(7,1)\">\n<\/pre>\n<h2>25\u3001\u53e6\u5b58\u4e3a<\/h2>\n<pre class=\"prettyprint linenums\" >\n<input onClick=\"document.execCommand('saveas','true','\u5e38\u7528\u4ee3\u7801.htm')\" type=button value=\u53e6\u5b58\u4e3a>\n<\/pre>\n<h2>26\u3001\u70b9\u51fb\u81ea\u52a8\u590d\u5236<\/h2>\n<pre class=\"prettyprint linenums\" >\n<script>function oCopy(obj){obj.select();js=obj.createTextRange();js.execCommand(\"Copy\")}<\/script>\n<input type=\"text\" value=\"\u70b9\u51fb\u81ea\u52a8\u590d\u5236\" onClick=\"oCopy(this)\" size=\"11\">\n<\/pre>\n<h2>27\u300111\u79cd\u5237\u65b0\u6309\u94ae\u7684\u65b9\u6cd5<\/h2>\n<pre class=\"prettyprint linenums\" >\n<input type=button value=\u5237\u65b0 onClick=\"history.go(0)\">\n<input type=button value=\u5237\u65b0 onClick=\"location.reload()\">\n<input type=button value=\u5237\u65b0 onClick=\"location=location\">\n<input type=button value=\u5237\u65b0 onClick=\"location.assign(location)\">\n<input type=button value=\u5237\u65b0 onClick=\"document.execCommand('Refresh')\">\n<input type=button value=\u5237\u65b0 onClick=\"window.navigate(location)\">\n<input type=button value=\u5237\u65b0 onClick=\"location.replace(location)\">\n<input type=button value=\u5237\u65b0 onClick=\"window.open('\u81ea\u8eab\u7684\u6587\u4ef6','_self')\">\n<input type=button value=\u5237\u65b0 onClick=document.all.WebBrowser.ExecWB(22,1)>\n<object classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0><\/object>\n<form action=\"\/%E8%87%AA%E8%BA%AB%E7%9A%84%E6%96%87%E4%BB%B6\"><input type=submit value=\u5237\u65b0><\/form>\n<a id=a1 href=\"\/%E8%87%AA%E8%BA%AB%E7%9A%84%E6%96%87%E4%BB%B6\"><\/a><input type=button value=\u5237\u65b0 onClick=\"a1.click()\">\n<\/pre>\n<h2>28\u3001\u7f51\u9875\u534a\u900f\u660e<\/h2>\n<pre class=\"prettyprint linenums\" >\n<body style=\"filter:Alpha(Opacity=50)\">\n<\/pre>\n<p>h2>29\u3001\u4f7f\u7528 \u8bb0\u4e8b\u672c \u7f16\u8f91<\/h2>\n<pre class=\"prettyprint linenums\" >\n<a href=\"\/\" onClick=location.replace(\"view-source:\"+location)>\u4f7f\u7528 \u8bb0\u4e8b\u672c \u7f16\u8f91<\/a>\n<\/pre>\n<h2>30\u3001\u53d1\u9001E-mail<\/h2>\n<pre class=\"prettyprint linenums\" >\n<a href=mailto:429752806@163.com>\u53d1\u9001E-mail<\/a>\n<\/pre>\n<h2>31\u3001\u6536\u85cf\u5939<\/h2>\n<pre class=\"prettyprint linenums\" >\n<a href=\"\/\" onClick=window.external.showBrowserUI(\"OrganizeFavorites\",null)>\u6574\u7406\u6536\u85cf\u5939<\/a>\n<span onClick=\"window.external.addFavorite('https:\/\/blog.lcsoul.cn\/','\u7545\u60f3\u524d\u7aef')\" style=\"CURSOR: hand\" title=\u7545\u60f3\u524d\u7aef>\u52a0\u5165\u6536\u85cf<\/span>\n<a href=\"\/\" onClick=\"window.external.addFavorite('https:\/\/blog.lcsoul.cn\/','\u7545\u60f3\u524d\u7aef')\">\u6dfb\u52a0\u5230\u6536\u85cf\u5939<\/a>\n<a href=\"javascript:window.external.AddFavorite('https:\/\/blog.lcsoul.cn\/', '\u7545\u60f3\u524d\u7aef')\">\u70b9\u51fb\u52a0\u5165\u6536\u85cf\u5939<\/a>\n<\/pre>\n<h2>32\u3001\u5de6\u4fa7\u6eda\u52a8\u6761<\/h2>\n<pre class=\"prettyprint linenums\" >\n\u6eda\u52a8\u6761\u5728\u5de6\u4fa7,\u5c06<html>\u6539\u4e3a<html DIR=\"RTL\">\n<\/pre>\n<h2>33\u3001\u9632\u6b62\u7f51\u9875\u88ab\u6846\u67b6<\/h2>\n<pre class=\"prettyprint linenums\" >\n<script language=\"javascript\">\nif (top.location !== self.location) {\ntop.location=self.location;\n}\n<\/script>\n<\/pre>\n<h2>34\u3001\u723d\u773c\u95ea\u5c4f\u4ee3\u7801<\/h2>\n<pre class=\"prettyprint linenums\" >\n<script>var color = new Array;color[1] = \"black\";color[2] = \"white\";for(x = 0; x <3; x++){document.bgColor = color[x];if(x == 2){x = 0;}}<\/script>\n<\/pre>\n<h2>35\u3001\u663e\u793a\u73b0\u5728\u65f6\u95f4\u7684\u811a\u672c<\/h2>\n<pre class=\"prettyprint linenums\" >\n<script language=vbscript>document.write now<\/script>\n<\/pre>\n<h2>36\u3001\u65e0\u6cd5\u6700\u5c0f\u5316\u7684\u7a97\u53e3<\/h2>\n<pre class=\"prettyprint linenums\" >\n<body onblur='self.focus();'>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>11\u3001\u540e\u9000 \u524d\u8fdb 12\u3001\u8fd4\u56de 13\u3001\u67e5\u770b\u6e90\u7801 14\u3001\u7981\u6b62\u67e5\u770b\u6e90\u7801 15\u3001\u5237\u65b0\u6309\u94ae 1\u3001 2\u3001 16\u3001\u72b6\u6001\u680f\u4fe1\u606f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[119,125,132,139,148,163,167,175,186,191,196,199,219],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-codeshare","tag-119","tag-125","tag-132","tag-139","tag-148","tag-163","tag-167","tag-175","tag-186","tag-191","tag-196","tag-199","tag-219"],"_links":{"self":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":0,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lcsoul.top\/index.php\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}