mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Update better-xcloud.user.js
This commit is contained in:
parent
e2e2322d94
commit
88df490c50
4
dist/better-xcloud.user.js
vendored
4
dist/better-xcloud.user.js
vendored
@ -107,7 +107,6 @@ class UserAgent {
|
||||
var SCRIPT_VERSION = "4.4.0";
|
||||
var SCRIPT_HOME = "https://github.com/redphx/better-xcloud";
|
||||
var AppInterface = window.AppInterface;
|
||||
var NATIVE_FETCH = window.fetch;
|
||||
UserAgent.init();
|
||||
var userAgent = window.navigator.userAgent.toLowerCase();
|
||||
var isTv = userAgent.includes("smart-tv") || userAgent.includes("smarttv") || /\baft.*\b/.test(userAgent);
|
||||
@ -190,6 +189,7 @@ try {
|
||||
delete window.BX_FLAGS;
|
||||
} catch (e) {
|
||||
}
|
||||
var NATIVE_FETCH = window.fetch;
|
||||
|
||||
// src/utils/html.ts
|
||||
var createElement = function(elmName, props = {}, ..._) {
|
||||
@ -694,7 +694,7 @@ class Translations {
|
||||
}
|
||||
}
|
||||
var t = Translations.get;
|
||||
await Translations.init();
|
||||
Translations.init();
|
||||
|
||||
// src/utils/screenshot.ts
|
||||
class Screenshot {
|
||||
|
Loading…
x
Reference in New Issue
Block a user