知乎专栏免登陆

try to take over the world!

当前为 2022-11-20 提交的版本,查看 最新版本

// ==UserScript==
// @name         知乎专栏免登陆
// @namespace    http://tampermonkey.net/
// @version      1.3
// @description  try to take over the world!
// @author       You
// @match        https://zhuanlan.zhihu.com/p/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=zhihu.com
// @grant        none
// ==/UserScript==

const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))

const main = async () => {
    while (!document.querySelector('div.signFlowModal')) {
        await sleep(100)
    }
    while (document.querySelector('div.signFlowModal')) {
        document.querySelector('div.signFlowModal button.Modal-closeButton')?.click()
        await sleep(100)
    }
}
main()

QingJ © 2025

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