{"id":250,"date":"2023-07-22T14:27:57","date_gmt":"2023-07-22T06:27:57","guid":{"rendered":"https:\/\/22222.v6.army:\/?p=250"},"modified":"2025-03-22T04:27:18","modified_gmt":"2025-03-21T20:27:18","slug":"msd-luci%e6%b7%bb%e5%8a%a0%e5%90%8e%e5%8f%b0%e8%8f%9c%e5%8d%95","status":"publish","type":"post","link":"https:\/\/ch.cc.ua\/?p=250","title":{"rendered":"msd luci\u6dfb\u52a0\u540e\u53f0\u83dc\u5355"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;iframe src=\"\/\/player.bilibili.com\/player.html?aid=672009012&amp;amp;cid=123456&amp;amp;page=1&amp;amp;high_quality=1\" width=\"100%\" height=\"500\" frameborder=\"0\" allowfullscreen=\"true\">&lt;\/iframe><\/code><\/pre>\n\n\n\n<p>1.<\/p>\n\n\n\n<p>o = s.option(form.Button, &#8216;view_button&#8217;, _(&#8216;\u7ec4\u64ad\u540e\u53f0&#8217;));<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.inputtitle = &#8220;web Server&#8221;;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.onclick = function () {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var addressElement = document.querySelector(&#8216;#cbid\\\\.msd_lite\\\\.cfg0121da\\\\.address .item input[type=&#8221;hidden&#8221;]&#8217;);<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (addressElement) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var address = addressElement.value;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.open(&#8216;http:\/\/&#8217; + address + &#8216;\/stat&#8217;, &#8216;_blank&#8217;);<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<\/p>\n\n\n\n<p>2.<\/p>\n\n\n\n<p>o = s.option(form.Button, &#8216;view_button&#8217;, _(&#8216;\u7ec4\u64ad\u540e\u53f0&#8217;));<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.inputtitle = &#8220;web Server&#8221;;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.onclick = function (section_id) {<\/p>\n\n\n\n<p>&nbsp; var dynlist = document.getElementById(&#8216;cbid.msd_lite.cfg0121da.address&#8217;);<\/p>\n\n\n\n<p>&nbsp; var items = dynlist.getElementsByClassName(&#8216;item&#8217;);<\/p>\n\n\n\n<p>&nbsp; var address = items[0].getElementsByTagName(&#8216;input&#8217;)[0].value;<\/p>\n\n\n\n<p>&nbsp; window.open(&#8216;http:\/\/&#8217; + address + &#8216;\/stat&#8217;, &#8216;_blank&#8217;);<\/p>\n\n\n\n<p>};<\/p>\n\n\n\n<p>3.<\/p>\n\n\n\n<p>o = s.option(form.Button, &#8216;view_button&#8217;, _(&#8216;\u7ec4\u64ad\u540e\u53f0&#8217;));<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.inputtitle = &#8220;web Server&#8221;;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.onclick = function(section_id) {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var address = &#8216;10.0.0.1:1234&#8217;; \/\/ \u5c06\u201cIP\u201d\u66ff\u6362\u4e3a\u60a8\u624b\u52a8\u5b9a\u4e49\u7684IP\u5730\u5740<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.open(&#8216;http:\/\/&#8217; + address + &#8216;\/stat&#8217;, &#8216;_blank&#8217;);<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<\/p>\n<div class=\"clearfix\"><\/div>","protected":false},"excerpt":{"rendered":"<p>1. o = s.option(form.Button, &#8216;view_button&#8217;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":253,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":6,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions\/273"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=\/wp\/v2\/media\/253"}],"wp:attachment":[{"href":"https:\/\/ch.cc.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ch.cc.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}