您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
跳转原链
当前为
// ==UserScript== // @name 滚吧腾讯文档重定向 // @namespace http://tampermonkey.net/ // @version 0.1 // @license MIT // @description 跳转原链 // @author jiemo // @match https://docs.qq.com/* // @grant none // ==/UserScript== (function() { 'use strict'; var intervalId = setInterval(checkForWarningMessage, 500); function checkForWarningMessage() { var elements = document.querySelectorAll('.url-src.url-click.url-blue'); elements.forEach(function(element) { console.log("Link:", element.textContent.trim()); window.location.href = element.textContent.trim(); }); // 停止定时器 clearInterval(intervalId); } })();