您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix functions such as deteting and editing posts of HCBBS.
// ==UserScript== // @name HCBBS Fix // @namespace https://scriptcat.org/ // @version 1 // @description Fix functions such as deteting and editing posts of HCBBS. // @author firetree // @match https://hcbbs.eu.org/* // @require https://scriptcat.org/lib/513/2.0.0/ElementGetter.js#sha256=KbLWud5OMbbXZHRoU/GLVgvIgeosObRYkDEbE/YanRU= // @grant none // @license cc0 // ==/UserScript== (function() { 'use strict'; elmGetter.each('[href]', document, (/**@type {HTMLElement}*/el) => { el.setAttribute('href', el.getAttribute('href').replace(/^\? (.*)$/, `?$1`)) }); elmGetter.each('[data-href]', document, (/**@type {HTMLElement}*/el) => { el.dataset.href = el.dataset.href.replace(/^\? (.*)$/, `?$1`) }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址