您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Now you’ve got more chances in PvP :)
// ==UserScript== // @name CoordsHelper // @namespace Violentmonkey Scripts // @match *://cavegame.io/* // @match *://mineroyale.io/* // @grant none // @version 0.1.1.1 // @author Drik // @description Now you’ve got more chances in PvP :) // @run-at document-start // @license MIT // ==/UserScript== (function() { 'use strict'; const $$$Coords$$$ = '.player-position.no-select'; const __chat__ = document.querySelector('#chat-input'); window.addEventListener('keyup', (e) => { if (e.key.toLowerCase() !== 'r') return; if (document.activeElement === __chat__) return; const _eventT = new KeyboardEvent('keydown', { key: 't', code: 'KeyT', keyCode: 84, which: 84, bubbles: true, cancelable: true }); document.dispatchEvent(_eventT); const el = document.querySelector($$$Coords$$$); if (!el || !__chat__) return; const coords = el.textContent.trim(); __chat__.value = coords; const _eventEnter = new KeyboardEvent('keydown', { key: 'Enter', code: 'Enter', keyCode: 13, which: 13, bubbles: true, cancelable: true }); __chat__.dispatchEvent(_eventEnter); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址