您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name pageup/pagedown button // @namespace http://tampermonkey.net/ // @version 0.17 // @description try to take over the world! // @author zjsxwc // @match http://* // @match https://*/* // @match https://*.com/* // @grant none // ==/UserScript== (function() { 'use strict'; //var html2 = $("body").html().replace(/script/g, "scpt"); $("body").html(html2); window.pageup = function pageup() { scrollBy(0, -window.screen.availHeight*0.85); } window.pagedown = function pagedown() { scrollBy(0, window.screen.availHeight*0.85); } window.pagetop = function pagetop() { scrollTo(0, 10); } //工具条 var tool_bar = $('<div id="tool-bar" style="top:45%;right:0px;position:fixed;float:right;font-size:0.5em;z-index: 9999999;"></div>'); tool_bar.append("<p style='float:right'><div id='up' onclick='pageup()' style=\"background-color: rgba(243,0,0,0.3);margin-bottom: 30px;height: 25px;z-index: 9999999;\">UP</div></p>"); tool_bar.append("<p style='float:right'><div id='down' onclick='pagedown()' style=\"background-color: rgba(243,0,0,0.3);margin-bottom: 50px;height: 25px;z-index: 9999999;\">DOWN</div></p>"); tool_bar.append("<p style='float:right'><div id='top' onclick='pagetop()' style=\"background-color: rgba(243,0,0,0.3);margin-bottom: 30px;height: 25px;z-index: 9999999;\">TOP</div></p>"); $('body').append(tool_bar); document.body.style.backgroundColor="white"; $('#undefined').hide(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址