您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Strips jump page.
// ==UserScript== // @name Alabout Direct Link // @description Strips jump page. // @namespace sandbox // @include http://alabout.com/* // @version 1 // @grant none // ==/UserScript== (function () { 'use strict'; var links = document.querySelectorAll('a'); Array.prototype.forEach.call(links, function (a) { var b = a.href.match(/^http:\/\/(www\.)?alabout\.com\/j\.phtml\?url=(.+)$/); if (b) { a.href = decodeURIComponent(b[2]); } }); })();