{"id":48943,"date":"2020-03-09T23:00:02","date_gmt":"2020-03-09T15:00:02","guid":{"rendered":"http:\/\/4563.org\/?p=48943"},"modified":"2020-03-09T23:00:02","modified_gmt":"2020-03-09T15:00:02","slug":"%e8%af%b7%e6%95%99%e5%85%b3%e4%ba%8e%e6%b2%b9%e7%8c%b4%e8%84%9a%e6%9c%ac%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=48943","title":{"rendered":"\u8bf7\u6559\u5173\u4e8e\u6cb9\u7334\u811a\u672c\u7684\u95ee\u9898"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u4e8c\u8302\u94c1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u8bf7\u6559\u5173\u4e8e\u6cb9\u7334\u811a\u672c\u7684\u95ee\u9898<\/h3>\n<p>  \t\t\u592a\u96be\u4e86\uff0c\u4e00\u5806\u811a\u672c\u602a\u5728\u62a2\u8bfe\uff0c\u4e4b\u540e\u90fd\u5728\u9ed1\u5e02\u7fa4\u88ab\u4ea4\u6613\uff0c\u4e70\u4e00\u95e8\u8bfe\u597d\u8d35\u554a\uff01\u4e8e\u662f\u81ea\u5df1\u5199\u4e86\u4e00\u4e2ajs\u811a\u672c<br \/>  \u4e0d\u592a\u4e86\u89e3\u6cb9\u7334\u63d2\u4ef6<br \/>  \u4ee3\u7801\u5728console\u91cc\u8fd0\u884c\u662f\u53ef\u4ee5\u7684\uff0c\u4f46\u662f\u653e\u5230\u6cb9\u7334\u8fd0\u884c\u65f6\uff0c\u62a5\u9519\u662f click is undefined<br \/>  \u672c\u6765\u9875\u9762\u5df2\u7ecf\u52a0\u8f7d\u4e86jQuery<br \/>  \u4ee3\u7801\u8d34\u5728\u8fd9\u91cc\u4e86<br \/>  \u5e0c\u671b\u5927\u4f6c\u6307\u70b9<br \/>  \u8f7b\u55b7<br \/>  (function() {<br \/>  &nbsp; &nbsp; &#8216;use strict&#8217;;<\/p>\n<p>  &nbsp; &nbsp; \/\/ Your code here&#8230;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\u8f93\u5165\u8981\u62a2\u7684\u79d1\u76ee<br \/>  &nbsp; &nbsp; $(&#8216;#signBtn&#8217;).ready();<br \/>  &nbsp; &nbsp; var subject = &quot;\u5e84\u5b50&quot;;<br \/>  &nbsp; &nbsp; \/\/\u9009\u62e92019\u7ea7<br \/>  &nbsp; &nbsp; document.querySelectorAll(&#8216;li a&#8217;).click();<br \/>  &nbsp; &nbsp; \/\/\u9009\u62e9\u673a\u9662<br \/>  &nbsp; &nbsp; document.querySelectorAll(&#8216;li a&#8217;).click();<br \/>  &nbsp; &nbsp; \/\/\u67e5\u8be2\u64cd\u4f5c<br \/>  &nbsp; &nbsp; document.querySelectorAll(&#8216;button&#8217;).click();<br \/>  &nbsp; &nbsp; \/\/\u70b9\u51fb\u66f4\u591a<br \/>  &nbsp; &nbsp; document.querySelectorAll(&#8216;div#more font a&#8217;).click();<br \/>  &nbsp; &nbsp; \/\/\u9009\u8bfe,\u83b7\u53d6\u5168\u90e8\u5217\u8868\u540d<br \/>  &nbsp; &nbsp; var list_subjectName= document.querySelectorAll(&#8216;h3.panel-title&#8217;);<br \/>  &nbsp; &nbsp; var srch = function get_order_num(list, string){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;for(var i = 0; i &lt; list.length; i++) {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var k = list.querySelector(&#8216;span&#8217;).innerText.search(string);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if (k &gt; 0){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; return i;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; var list = document.querySelectorAll(&#8216;div&#8217;);<br \/>  &nbsp; &nbsp; var num = srch(list_subjectName, subject) + 1;<br \/>  &nbsp; &nbsp; \/\/\u5c55\u5f00\u9762\u677f<br \/>  &nbsp; &nbsp; list.querySelector(&#8216;a&#8217;).click();<br \/>  &nbsp; &nbsp; setTimeout(function abc(){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;var button_list = list.querySelectorAll(&#8216;button&#8217;);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;var full_list = list.querySelectorAll(&#8216;tr td.full&#8217;)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;for(var i = 0; i &lt; button_list.length &amp;&amp; full_list != &#8216;\u5df2\u6ee1&#8217;; i++){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if(button_list.innerText == &#8216;\u9009\u8bfe&#8217;){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; button_list.click();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; window.location.reload();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}}, 1000);<br \/>  })();\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>loveqianool<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u73b0\u5728\u7684\u5b69\u5b50\u4e0a\u8bfe\u90fd\u8981\u62a2\u7740\u4e0a\u5417\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5343\u725b<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tjs\u6709\u4e2a\u6267\u884c\u65f6\u95f4\u6982\u5ff5\u3002\u5373\u5728\u4ec0\u4e48\u65f6\u5019\u6267\u884c\u3002<br \/>  \u4f60\u8fd9\u4e2a\u5199\u6cd5\u662f\u7acb\u5373\u6267\u884c<br \/>  \u5728GM\u811a\u672c\u4e2d\u6709\u4e00\u4e2a\u6807\u5934<br \/>  \/\/@run-at&nbsp; &nbsp; document-start<br \/>  \u6216\u8005\u662fdocument-end<br \/>  \u4f60\u7684\u53ef\u80fd\u5c31\u662f\u540e\u8005\u4e86\uff0c\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u52a0\u4e00\u4e2a\u6309\u94ae\uff0c\u70b9\u51fb\u8fd9\u4e2a\u6309\u94ae\uff0c\u7acb\u5373\u6267\u884c\u5bf9\u5e94\u4ee3\u7801<br \/>  \u5177\u4f53\u53ef\u4ee5\u53c2\u52a0\uff1aTampermonkey\u7684\u6807\u5934API\u6587\u6863\u8bf4\u660e\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e8c\u8302\u94c1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6709\u7684\u79d1\u76ee\u597d\u62ff\u5206\u5450\uff0c\u5f53\u4ee3\u5927\u5b66\u751f\uff0c\u771f\u5351\u5fae\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lsza<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u540c\u4e8c\u697c \u4e0a\u8bfe\u4e5f\u8981\u62a2\u7740\u4e0a\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e8c\u8302\u94c1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5343\u725b \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-9 22:25<br \/>  js\u6709\u4e2a\u6267\u884c\u65f6\u95f4\u6982\u5ff5\u3002\u5373\u5728\u4ec0\u4e48\u65f6\u5019\u6267\u884c\u3002<br \/>  \u4f60\u8fd9\u4e2a\u5199\u6cd5\u662f\u7acb\u5373\u6267\u884c<br \/>  \u5728GM\u811a\u672c\u4e2d\u6709\u4e00\u4e2a\u6807\u5934<\/p>\n<p> \u8c22\u8c22\u5927\u4f6c\uff0c\u9a6c\u4e0a\u8bd5\u4e00\u4e0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u6211\u662f\u4e00\u4e2a\u5927\u6c34\u602a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u53ef\u601c\u7684\u5927\u5b66\u751f\uff0c\u5c45\u7136\u8fd8\u6709\u9ed1\u5e02\u4e00\u8bf4\u3002  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e8c\u8302\u94c1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5343\u725b \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-9 22:25<br \/>  js\u6709\u4e2a\u6267\u884c\u65f6\u95f4\u6982\u5ff5\u3002\u5373\u5728\u4ec0\u4e48\u65f6\u5019\u6267\u884c\u3002<br \/>  \u4f60\u8fd9\u4e2a\u5199\u6cd5\u662f\u7acb\u5373\u6267\u884c<br \/>  \u5728GM\u811a\u672c\u4e2d\u6709\u4e00\u4e2a\u6807\u5934<\/p>\n<p> \u8fd8\u662f\u4e0d\u884c\uff0c\u62a5\u9519\u5982\u4e0b<br \/>  userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1 ERROR: Execution of script &#8216;LCG\u7684\u62a2\u8bfe\u811a\u672c&#8217; failed! Cannot read property &#8216;click&#8217; of undefined<br \/>  eval @ userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1<br \/>  eval @ userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1<br \/>  eval @ userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:58<br \/>  eval @ userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:60<br \/>  (anonymous) @ VM104:3<br \/>  c @ VM104:2<br \/>  (anonymous) @ VM104:3<br \/>  ka @ VM108:59<br \/>  create @ VM108:71<br \/>  d @ VM108:13<br \/>  runListeners @ VM108:13<br \/>  eval @ VM108:72<br \/>  Q @ VM104:11<br \/>  send @ content.js:7<br \/>  (anonymous) @ content.js:27<br \/>  processQueue @ content.js:3<br \/>  a @ content.js:9<br \/>  userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1 TypeError: Cannot read property &#8216;click&#8217; of undefined<br \/>  &nbsp; &nbsp; at eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:25)<br \/>  &nbsp; &nbsp; at Window.eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:55)<br \/>  &nbsp; &nbsp; at &lt;anonymous&gt;:3:98<br \/>  &nbsp; &nbsp; at eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1)<br \/>  &nbsp; &nbsp; at eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:1)<br \/>  &nbsp; &nbsp; at eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:58)<br \/>  &nbsp; &nbsp; at eval (userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;id=e70624f4-89a4-46ef-ab83-a91e8788bf82:60)<br \/>  &nbsp; &nbsp; at eval (&lt;anonymous&gt;)<br \/>  &nbsp; &nbsp; at &lt;anonymous&gt;:3:98<br \/>  &nbsp; &nbsp; at Object.c  (&lt;anonymous&gt;:2:146)  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5343\u725b<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e8c\u8302\u94c1 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-9 22:32<br \/>  \u8fd8\u662f\u4e0d\u884c\uff0c\u62a5\u9519\u5982\u4e0b<br \/>  userscript.html?name=LCG%E7%9A%84%E6%8A%A2%E8%AF%BE%E8%84%9A%E6%9C%AC.user.js&amp;i &#8230;<\/p>\n<p> emmmm<br \/>  &quot;click something of undefined&quot; means you want to click something, but something is not exist.<br \/>  \u5c31\u662f\u8bf4\u4f60\u7684\u76ee\u6807\u70b9\u51fb\u5bf9\u8c61\u4e0d\u5b58\u5728\uff0c\u4f60\u7684\u4ee3\u7801\u9009\u62e9\u6709\u95ee\u9898<br \/>  console\u91cc\u9762\u80fd\u8fd0\u884c\uff0c\u6709\u53ef\u80fd\u4f60\u7684\u57df\u4f30\u8ba1\u6ca1\u627e\u5bf9 yc011t<br \/>  \u4f60console\u91cc\u9762\u6267\u884c\u53ef\u80fd\u662f\u5728iframe\u91cc\u9762\u6267\u884c\u7684\uff0c\u786e\u8ba4\u4e0b<br \/>  \u5176\u6b21\u624d\u662f\u786e\u8ba4\u662f\u5426\u4ee3\u7801\u6267\u884c\u7684\u65f6\u5019\u6570\u636e\u672a\u8f7d\u5165\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8c\u8302\u94c1 \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u8bf7\u6559\u5173\u4e8e\u6cb9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/48943"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48943"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/48943\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48943"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}