// ==UserScript== // @name Fuck知乎隐私策略 // @namespace FuckPrivacyPolicy@Zhihu // @description 屏蔽知乎隐私策略提示 // @include http://www.zhihu.com/ // @include http://www.zhihu.com/* // @include https://www.zhihu.com/ // @include https://www.zhihu.com/* // @version 1.0 // @grant none // @downloadURL https://update.greasyfork.icu/scripts/43662/Fuck%E7%9F%A5%E4%B9%8E%E9%9A%90%E7%A7%81%E7%AD%96%E7%95%A5.user.js // @updateURL https://update.greasyfork.icu/scripts/43662/Fuck%E7%9F%A5%E4%B9%8E%E9%9A%90%E7%A7%81%E7%AD%96%E7%95%A5.meta.js // ==/UserScript== //如果你不想点同意…… //swoosh是ios里面的一个铃声。就是“嗖~”的一声。 //看到已经有朋友实现了功能了,但是挺奇怪,我这边onload、ready、setTimeout都不能确保脚本在隐私策略显示之后运行,所以又写了个 function swoosh() { if(document.readyState == 'complete') document.getElementsByClassName('Modal-wrapper')[0].remove(); document.getElementsByTagName('html')[0].style.overflow = 'visible'; //alert('haha'); } (function() { 'use strict'; document.onreadystatechange = swoosh; })();