您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
removes many things except the text
- // ==UserScript==
- // @name SCPLite
- // @namespace https://scp-wiki.wikidot.com/
- // @version 1.0
- // @author NextDev65
- // @description removes many things except the text
- // @match https://scp-wiki.wikidot.com*/*
- // @resource https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
- // @run-at document-end
- // @grant GM_getResourceText
- // @noframes
- // ==/UserScript==
- (function() {
- 'use strict';
- // https://www.tampermonkey.net/documentation.php#_require
- // Points to a JavaScript file that is loaded and executed before the script itself starts running.
- // @require https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
- // https://www.tampermonkey.net/documentation.php#_resource
- // Preloads resources that can by accessed via GM_getResourceURL and GM_getResourceText by the script.
- // @resource hover_fadejs https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
- // external
- Function(GM_getResourceText('hover_fadejs'))();
- hover_fade(); // eslint-disable-line no-undef
- document.getElementById('header').remove();
- document.getElementById('side-bar').remove();
- document.getElementById('container-wrap').id = "container-wrap-o";
- document.getElementById('page-content').scrollIntoView();
- document.getElementById('footer').remove();
- document.getElementById('license-area').remove();
- document.getElementById('footer-bar').remove();
- })();