mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 05:08:26 +02:00
Change WestEurope server's flag to Netherlands
This commit is contained in:
6
dist/better-xcloud.pretty.user.js
vendored
6
dist/better-xcloud.pretty.user.js
vendored
@@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Better xCloud
|
// @name Better xCloud
|
||||||
// @namespace https://github.com/redphx
|
// @namespace https://github.com/redphx
|
||||||
// @version 6.7.1
|
// @version 6.7.2-beta
|
||||||
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
||||||
// @author redphx
|
// @author redphx
|
||||||
// @license MIT
|
// @license MIT
|
||||||
@@ -194,7 +194,7 @@ class UserAgent {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var SCRIPT_VERSION = "6.7.1", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface;
|
var SCRIPT_VERSION = "6.7.2-beta", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface;
|
||||||
UserAgent.init();
|
UserAgent.init();
|
||||||
var userAgent = window.navigator.userAgent.toLowerCase(), isTv = userAgent.includes("smart-tv") || userAgent.includes("smarttv") || /\baft.*\b/.test(userAgent), isVr = window.navigator.userAgent.includes("VR") && window.navigator.userAgent.includes("OculusBrowser"), browserHasTouchSupport = "ontouchstart" in window || navigator.maxTouchPoints > 0, userAgentHasTouchSupport = !isTv && !isVr && browserHasTouchSupport, STATES = {
|
var userAgent = window.navigator.userAgent.toLowerCase(), isTv = userAgent.includes("smart-tv") || userAgent.includes("smarttv") || /\baft.*\b/.test(userAgent), isVr = window.navigator.userAgent.includes("VR") && window.navigator.userAgent.includes("OculusBrowser"), browserHasTouchSupport = "ontouchstart" in window || navigator.maxTouchPoints > 0, userAgentHasTouchSupport = !isTv && !isVr && browserHasTouchSupport, STATES = {
|
||||||
supportedRegion: !0,
|
supportedRegion: !0,
|
||||||
@@ -9057,7 +9057,7 @@ class XcloudInterceptor {
|
|||||||
AustraliaSouthEast: ["🇦🇺", "australia"],
|
AustraliaSouthEast: ["🇦🇺", "australia"],
|
||||||
SwedenCentral: ["🇸🇪", "europe"],
|
SwedenCentral: ["🇸🇪", "europe"],
|
||||||
UKSouth: ["🇬🇧", "europe"],
|
UKSouth: ["🇬🇧", "europe"],
|
||||||
WestEurope: ["🇪🇺", "europe"]
|
WestEurope: ["🇳🇱", "europe"]
|
||||||
};
|
};
|
||||||
static async handleLogin(request, init) {
|
static async handleLogin(request, init) {
|
||||||
let bypassServer = getGlobalPref("server.bypassRestriction");
|
let bypassServer = getGlobalPref("server.bypassRestriction");
|
||||||
|
6
dist/better-xcloud.user.js
vendored
6
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@@ -40,7 +40,7 @@ export class XcloudInterceptor {
|
|||||||
// Europe
|
// Europe
|
||||||
SwedenCentral: ['🇸🇪', 'europe'],
|
SwedenCentral: ['🇸🇪', 'europe'],
|
||||||
UKSouth: ['🇬🇧', 'europe'],
|
UKSouth: ['🇬🇧', 'europe'],
|
||||||
WestEurope: ['🇪🇺', 'europe'],
|
WestEurope: ['🇳🇱', 'europe'],
|
||||||
};
|
};
|
||||||
|
|
||||||
private static async handleLogin(request: RequestInfo | URL, init?: RequestInit) {
|
private static async handleLogin(request: RequestInfo | URL, init?: RequestInit) {
|
||||||
|
Reference in New Issue
Block a user