您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides reply area until you press `
// ==UserScript== // @name Hide reply box // @license MIT // @namespace http://tampermonkey.net/ // @version 1.1 // @description Hides reply area until you press ` // @author Milan // @match http*://lue.websight.blue/thread/* // @icon https://lore.delivery/static/blueshi.png // @grant none // ==/UserScript== (function() { 'use strict'; const replyArea = document.getElementById("reply-area"); replyArea.style.display = "none"; const inputElement = document.getElementById("reply-content"); const quoteLinks = document.querySelectorAll("a[href*=quote]"); Array.prototype.map.call(quoteLinks, quoteLink => { const quoting = quoteLink.onclick; quoteLink.onclick = (e) => { e.preventDefault(); quoting(); replyArea.style.display = "block"; inputElement.focus(); } }); document.addEventListener('keydown', function(e) { if(e.code == "Backquote") { replyArea.style.display = "block"; inputElement.focus(); } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址