您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
即时跳转所有百度贴吧跳转链接至主域名(大力飞砖版)
// ==UserScript== // @name 献给安康 // @namespace https://github.com/yourname // @version 2.1 // @description 即时跳转所有百度贴吧跳转链接至主域名(大力飞砖版) // @author YXY // @match *://jump.bdimg.com/* // @match *://jump2.bdimg.com/* // @match *://jump3.bdimg.com/* // @run-at document-start // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const domainMapper = { getFullPath: () => window.location.href.split('.bdimg.com')[1] || '/', buildTargetUrl: function() { return 'https://tieba.baidu.com' + this.getFullPath() }, // 执行即时跳转 execute: function() { if (window.self === window.top) { window.stop(); location.replace(this.buildTargetUrl()); } } } domainMapper.execute(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址