您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
custom fov for arras.io!
当前为
- // ==UserScript==
- // @name arras.io fov changer by KarstenKirsche
- // @namespace http://tampermonkey.net/
- // @version 0.1.3
- // @description custom fov for arras.io!
- // @author You
- // @match https://arras.io/
- // @icon https://www.google.com/s2/favicons?domain=arras.io
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- let lock = 0;
- document.addEventListener('keydown', function(event) {
- if (event.code === "KeyX" && !lock) {
- Array.prototype.shift = new Proxy(Array.prototype.shift, {
- apply(shift, array, args) {
- if (array[0] === 'u') {
- array[4] = array[4] * 5;
- lock = 1;
- }
- return shift.apply(array, args);
- }
- });
- }
- });
- //// with this script, you get fully custom fov!
- //
- //// change this to what you want your fov to be:
- // var customFov = 500;
- (function() {
- 'use strict';
- alert("Injected Hacks by KastenKirsche");
- })();