{"id":211844,"date":"2020-12-02T12:12:11","date_gmt":"2020-12-02T04:12:11","guid":{"rendered":"http:\/\/4563.org\/?p=211844"},"modified":"2020-12-02T12:12:11","modified_gmt":"2020-12-02T04:12:11","slug":"%e5%85%b3%e4%ba%8e%e7%9f%a5%e4%b9%8e%e7%99%bb%e5%bd%95%e5%bc%b9%e7%aa%97%e7%9a%84%e7%ae%80%e5%8d%95%e8%a7%a3%e5%86%b3%e6%96%b9%e5%bc%8f%ef%bc%88%e4%b8%8d%e9%9c%80%e8%a6%81%e6%b2%b9%e7%8c%b4%ef%bc%89","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=211844","title":{"rendered":"\u5173\u4e8e\u77e5\u4e4e\u767b\u5f55\u5f39\u7a97\u7684\u7b80\u5355\u89e3\u51b3\u65b9\u5f0f\uff08\u4e0d\u9700\u8981\u6cb9\u7334\uff09"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>vagrantear<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u5173\u4e8e\u77e5\u4e4e\u767b\u5f55\u5f39\u7a97\u7684\u7b80\u5355\u89e3\u51b3\u65b9\u5f0f\uff08\u4e0d\u9700\u8981\u6cb9\u7334\uff09<\/h3>\n<p>  \t\t\u53ea\u9700\u8981f12\u4ee5\u540eDisable JavaScript<br \/>  \u7136\u540e\u518d\u5237\u65b0\u4e00\u6ce2\u5c31\u884c\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ABCHINA<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f60\u77e5\u9053javascript\u662f\u5565\u5417\uff1f<br \/>  \u4f60\u8fd9\u6837\u5c0f\u767d\u641e\u4e0d\u597d\u8981\u91cd\u88c5\u6d4f\u89c8\u5668\u7684\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u6df1\u5df7\u8001\u732bi<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed9\u4e2a\u811a\u672c \u65b9\u4fbf<br \/>  \/\/ ==UserScript==<br \/>  \/\/ @name&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;\u77e5\u4e4e\u514d\u767b\u5f55<br \/>  \/\/ @namespace&nbsp; &nbsp; http:\/\/tampermonkey.net\/<br \/>  \/\/ @version&nbsp; &nbsp;&nbsp; &nbsp;0.7<br \/>  \/\/ @description\u5783\u573e\u77e5\u4e4e\u65e2\u7136\u903c\u7740\u7535\u8111\u7aef\u7528\u77ed\u4fe1\u767b\u9646\uff0c\u90a3\u7237\u5c31\u4e0d\u767b\u9646\u4e86<br \/>  \/\/ @author&nbsp; &nbsp;&nbsp; &nbsp; You<br \/>  \/\/ @match&nbsp; &nbsp;&nbsp; &nbsp;https:\/\/www.zhihu.com\/*<br \/>  \/\/ @grant&nbsp; &nbsp;&nbsp; &nbsp;none<br \/>  \/\/ ==\/UserScript==<\/p>\n<p>  (function () {<br \/>  &quot;use strict&quot;;<br \/>  if (document.location.href.indexOf(&quot;\/signin?&quot;) &gt; -1) {<br \/>  &nbsp; &nbsp; window.location.href = &quot;\/\/zhihu.com\/search?&quot;;<br \/>  }<\/p>\n<p>  function htmlObservation(mutationList,observer){<br \/>  &nbsp; &nbsp; for(let mutation of mutationList){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;if(&#8216;attributes&#8217; === mutation.type &amp;&amp; &#8216;style&#8217; === mutation.attributeName){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;if(document.body.parentNode.style.overflow !== &#8216;auto&#8217;){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; document.body.parentNode.style.overflow = &#8216;auto&#8217;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp; }<br \/>  }<\/p>\n<p>  function bodyObservation(mutationList,observer){<br \/>  &nbsp; &nbsp; if(document.getElementsByClassName(&#8216;signFlowModal&#8217;)){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;const model = document.getElementsByClassName(&#8216;Modal-wrapper&#8217;)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;if(model){<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;model.parentNode.removeChild(model)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp; }<br \/>  }<\/p>\n<p>  document.body.parentNode.style.overflow = &#8216;auto&#8217;<br \/>  const htmlObserverConfig = {attributes:true}<br \/>  const htmlObserver = new MutationObserver(htmlObservation)<br \/>  htmlObserver.observe(document.body.parentNode,htmlObserverConfig)<\/p>\n<p>  const bodyObserverConfig = {childList:true,subtree:true}<br \/>  const bodyObserver = new MutationObserver(bodyObservation)<br \/>  bodyObserver.observe(document.body,bodyObserverConfig)<\/p>\n<p>  })();  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>mix<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u66f4\u7b80\u5355\u540c\u65f6\u4e0d\u5f71\u54cd\u6b63\u5e38\u6d4f\u89c8<br \/>  ||static.zhihu.com\/heifetz\/main.signflow.*.js$script,domain=www.zhihu.com\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>angelbaby<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t#\u5c4f\u853d\u77e5\u4e4e\u767b\u5f55\u6846<br \/>  #\u5c4f\u853d\u77e5\u4e4e\u767b\u5f55\u6846<br \/>  #zhihu.com##.Modal-wrapper<br \/>  zhihu.com##html:style(overflow: auto !important)<br \/>  zhihu.com##.Modal-wrapper:has(.signFlowModal)<br \/>  ||static.zhihu.com\/heifetz\/main.signflow*.js\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5922\u898b\u308a\u3042\u3080<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u5922\u898b\u308a\u3042\u3080 \u4e8e 2020-12-2 12:41 \u7f16\u8f91 <\/p>\n<p> \u56de\u9519\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>vagrantear \u5927\u4f6c\u6709\u8bdd\u8bf4 &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\/211844"}],"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=211844"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/211844\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=211844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=211844"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=211844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}