fuck zhihu

try to take over the world!

目前為 2018-01-23 提交的版本,檢視 最新版本

// ==UserScript==
// @name         fuck zhihu
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        http://*/*
// @grant        none
// ==/UserScript==

(function() {
   var Sticky=window.document.getElementsByClassName('Sticky');
   var question=window.document.getElementsByClassName('Question-sideColumn--sticky');
    var n=Sticky.length;
    if(n>0){
        switch (n){
            case 1:
                Sticky[0].style.display="none";
                break;
            case 2:
                Sticky[0].style.display="none";
                Sticky[1].style.display="none";
                break;
            case 3:
                Sticky[0].style.display="none";
                Sticky[1].style.display="none";
                Sticky[2].style.display="none";
                break;
            case 4:
                Sticky[0].style.display="none";
                Sticky[1].style.display="none";
                Sticky[2].style.display="none";
                Sticky[3].style.display="none";
                break;
        }
        question[0].style.display="none";
       }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址