您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Press M to click the move button on disk-alist's Chomikuj page
// ==UserScript== // @name Chomikuj Move Button Shortcut // @namespace http://tampermonkey.net/ // @version 0.1 // @description Press M to click the move button on disk-alist's Chomikuj page // @author You // @match https://chomikuj.pl/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; document.addEventListener('keydown', function(e) { // Check if M key is pressed if (e.key.toLowerCase() === 'm') { // Find and click the move button const moveButton = document.querySelector('.moveFilesBtn'); if (moveButton) { moveButton.click(); } } }); })();