您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Ctrl + Shift + Enter で提出できるようにする
// ==UserScript== // @name Atcoder Submission Shortcut // @namespace chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/options.html#nav=9fae7fb4-0496-426b-a189-3aa7e5a7e300+editor // @license MIT // @version 1.0 // @description Ctrl + Shift + Enter で提出できるようにする // @author Rac // @match https://atcoder.jp/contests/*/tasks/* // @match https://atcoder.jp/contests/*/submit // @match https://atcoder.jp/contests/*/submit?* // @match https://atcoder.jp/contests/*/custom_test // @grant none // ==/UserScript== (function() { document.addEventListener('keydown', (event) => { if(event.ctrlKey && event.shiftKey && event.key=='Enter') { document.querySelector('.col-sm-5 > .btn-primary').click(); } }); })();