switch to chrome due to using habit differences.
This commit is contained in:
17
hoyocloud-chromium-userscript.js
Normal file
17
hoyocloud-chromium-userscript.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// ==UserScript==
|
||||
// @name Genshin Cloud
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 0.1
|
||||
// @description fix a Genshin Impact cloud game bug
|
||||
// @match https://*.mihoyo.com/cloud/*
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
const origin = HTMLElement.prototype.requestPointerLock
|
||||
HTMLElement.prototype.requestPointerLock = function () {
|
||||
return origin.call(this)
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user