最終更新 1712328515

AimerNeige_local's Avatar AimerNeige revised this gist 1712328515. Go to revision

No changes

AimerNeige_local's Avatar AimerNeige revised this gist 1712328494. Go to revision

1 file changed, 20 insertions

cloud-genshin.js(file created)

@@ -0,0 +1,20 @@
1 + // ==UserScript==
2 + // @name Genshin Cloud
3 + // @namespace http://tampermonkey.net/
4 + // @version 0.1
5 + // @description fix a Genshin Impact cloud game bug
6 + // @match https://ys.mihoyo.com/cloud/*
7 + // @grant none
8 + // ==/UserScript==
9 +
10 + (function () {
11 + 'use strict';
12 +
13 + const origin = HTMLElement.prototype.requestPointerLock
14 + HTMLElement.prototype.requestPointerLock = function () {
15 + return origin.call(this)
16 + }
17 + })();
18 +
19 + // 作者:SocialismTeen https://www.bilibili.com/read/cv26576757/
20 + // 出处:bilibili
Newer Older