您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
only works with vichan imageboards
// ==UserScript== // @name ctrl+enter // @namespace made for soyjak.party // @match http*://soyjak.party/* // @match http*://soyak.party/* // @match http*://soyjak.st/* // @match http*://theribbitrally.org/* // @match http*://frogbbs.moot.es/* // @match http*://sturdychan.help/* // @match http*://swedishwin.com/* // @match http*://soygem.party/* // @match http*://crystal.cafe/* // @match http*://lolcow.farm/* // @match http*://*.soyja.cc/* // @grant GM_getValue // @grant GM_setValue // @grant GM_xmlhttpRequest // @grant GM_addStyle // @connect * // @license MIT // @version 1.001 // @author Glisterald and Xyl // @description only works with vichan imageboards // ==/UserScript== // ctrl + enter to post window.addEventListener("keydown", e => { if (e.key == "Enter" && (e.ctrlKey || e.metaKey)) { if (form = e.target.closest("form[name=post]")) { form.querySelector("input[type=submit]").click(); } } });