您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
如题,自动跳转QQ、QQ邮箱的“非官方页面”外链
// ==UserScript== // @name QQ链接自动跳转 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 如题,自动跳转QQ、QQ邮箱的“非官方页面”外链 // @author geigei717 // @license MIT // @match https://c.pc.qq.com/middlem.html* // @match https://mail.qq.com/cgi-bin/readtemplate?t=safety&check=false&gourl=* // @icon https://greasyfork.s3.us-east-2.amazonaws.com/fc67t00gsk98w7pbhs97xr94g1hl // @require https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js // @grant none // @run-at document-body // ==/UserScript== (function() { var url; //QQ跳转外链 if(/(https:\/\/c\.pc\.qq\.com\/middlem\.html.*)/.test(window.location.href )){ if( $('section .ui-title').text()=='当前网页非官方页面'){ url = $("#url").text() window.location.assign(url) } } //QQ邮箱跳转外链 if( /(https:\/\/mail\.qq\.com\/cgi-bin\/readtemplate\?t=safety\&check=false\&gourl=.*)/.test(window.location.href ) ){ if( $(".remind_title").text()=='您将要访问:'){ url = $(".safety-url").text() window.location.assign(url) } } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址