以前绑手机,还能点个叉,现在连叉都没了,还好有mjj大佬写了个脚本,原地址忘记了,真是抱歉

// ==UserScript==
// @name         某乎,禁用登录
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.zhihu.com/question/*
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
    var readyDelDom = document.getElementsByClassName('Modal-wrapper')[0];
    var delParent = readyDelDom.parentElement;
    delParent.removeChild(readyDelDom);
    var htmlDom = document.getElementsByTagName('html')[0];
    htmlDom.style.overflow = 'auto'
})();

标签: 油猴, 知乎

添加新评论