您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix the zoom of starve.io
- // ==UserScript==
- // @name Starve.io Zoom Fix
- // @description Fix the zoom of starve.io
- // @version 0.1
- // @license MIT
- // @run-at document-start
- // @match https://starve.io*
- // @grant none
- // @namespace https://greasyfork.org/users/1349814
- // ==/UserScript==
- var _scr = {};
- for (const key in screen) {
- switch (key) {
- case "width":
- _scr[key] = 3840;
- break;
- case "height":
- _scr[key] = 2160;
- break;
- default:
- _scr[key] = screen[key];
- break;
- }
- }
- window.screen = _scr;