您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Link to posts in the same 4chan thread with "@".
当前为
// ==UserScript== // @name @-posting // @version 0.1.0.1 // @namespace atposting // @license WTFPL // @include *://boards.4chan.org/g/* // @run-at document-end // @description Link to posts in the same 4chan thread with "@". // ==/UserScript== (function() { Array.prototype.forEach.call(document.querySelectorAll('.postMessage'), function(x) { x.innerHTML = x.innerHTML.replace(/@([0-9]+)/, '<a href="#p$1" class="quotelink">@$1</a>'); }); })();