try to take over the world!
// ==UserScript==
// @name 消除知乎推荐
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.zhihu.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
let style = `
.Topstory-mainColumnCard .Card:not(.Topstory-tabCard) {
opacity: 0
}
`
let dom = document.createElement('style')
dom.innerHTML = style
document.body.appendChild(dom)
let toggleDom = document.querySelector('#Popover1-toggle')
function interval(time = 10000) {
setTimeout(() => {
doSome(true)
}, time)
}
function doSome(flag) {
console.log(new Date(), 'remove placeholder')
toggleDom.setAttribute('placeholder', '');
if (flag) {
interval()
}
}
doSome()
interval()
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址