您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
去除知网在线阅读页面无关元素,增加可阅读面积
当前为
// ==UserScript== // @name CNKI在线阅读优化 // @namespace com.arcsinw // @version 0.0.2 // @description 去除知网在线阅读页面无关元素,增加可阅读面积 // @author arcsinw // @match *://*.cnki.net/Kreader/* // @grant none // @run-at document-idle // ==/UserScript== if (window.top != window.self) { return; } (function() { 'use strict'; function $(selector) { return document.querySelector(selector); } // set title var title_element = $('#head_name_cdmd a.titleClass') if (title_element != undefined) { document.title = title_element.getAttribute('title') } // hide useless element $('#HeaderDiv').style.display = 'none' $('#FooterDiv').style.display = 'none' $('#mainContent > div.head_cdmd').style.display = 'none' $('#mainContent').style.setProperty('margin-bottom', '0px', 'important') $('#mainContent').style.width = '100%' $('#mainContent').style.display = 'flex' $('#mainContent').style.removeProperty('position') $('#rightside').style.removeProperty('width') $('#rightside').style.removeProperty('float') $('#rightside').style.flexGrow = '2' $('#leftside').style.removeProperty('float') $('#leftside').style.width = 'auto' var hide_style = document.createElement('style') hide_style.type = 'text/css' hide_style.innerHTML = ".botlikelist {display: none;}" document.head.appendChild(hide_style) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址