您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
123网盘去广告,并将下载文件按钮移动到底部
// ==UserScript== // @name 123网盘去广告 // @namespace https://www.123pan.com/ // @version 0.23 // @description 123网盘去广告,并将下载文件按钮移动到底部 // @author 呆呆 // @match https://www.123pan.com/s/* // @match https://www.123pan.cn/s/* // @match https://www.123912.com/* // @match https://www.123865.com/* // @grant none // @run-at document-end // ==/UserScript== document.addEventListener('copy', function(e) { // 阻止默认行为 e.preventDefault(); // 阻止事件传播 e.stopPropagation(); }); function addStyle(cssstyle) { let styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(cssstyle)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } let css = ` .appBottomBtn { position: fixed !important; bottom: 0 !important; } #xxl { position: fixed !important; top: 1% !important; right: 1% !important; width: 98% !important; } .banner_all_wrap, .pointer, .qrcode_btn, share-time-wrap__operate, img[src="https://statics.123pan.com/share-static/dist/static/H5_logo_top.2b680600.svg"], .loginModal-footer, .download-msg-info, nner-container-h5, .app-header-img, .bg_svip_block_ads, .sharheader_left { display: none !important; } `; addStyle(css); setTimeout(function() { var pageTitle = document.title; var index = pageTitle.indexOf("官方版下载丨"); if (index !== -1) { var newTitle = pageTitle.substring(0, index); document.title = newTitle; } }, 1000);