// ==UserScript== // @name 强制页面链接在当前页面打开 // @namespace https://www.acy.moe // @supportURL https://www.acy.moe // @version 0.2 // @description 强制页面链接在当前页面打开,不再跳转新的标签页 // @author NEET姬 // @include http://* // @include https://* // @match *://*/* // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Your code here... $("a").attr("target","_self"); })();