mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Add emoji flag for SwedenCentral server
This commit is contained in:
parent
4d49639622
commit
70f43ba8f2
5
dist/better-xcloud.lite.user.js
vendored
5
dist/better-xcloud.lite.user.js
vendored
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Better xCloud (Lite)
|
// @name Better xCloud (Lite)
|
||||||
// @namespace https://github.com/redphx
|
// @namespace https://github.com/redphx
|
||||||
// @version 5.9.2
|
// @version 5.9.3-beta
|
||||||
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
||||||
// @author redphx
|
// @author redphx
|
||||||
// @license MIT
|
// @license MIT
|
||||||
@ -105,7 +105,7 @@ class UserAgent {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var SCRIPT_VERSION = "5.9.2", SCRIPT_VARIANT = "lite", AppInterface = window.AppInterface;
|
var SCRIPT_VERSION = "5.9.3-beta", SCRIPT_VARIANT = "lite", 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, supportMkb = AppInterface || !userAgent.match(/(android|iphone|ipad)/), 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, supportMkb = AppInterface || !userAgent.match(/(android|iphone|ipad)/), STATES = {
|
||||||
supportedRegion: !0,
|
supportedRegion: !0,
|
||||||
@ -5046,6 +5046,7 @@ class XcloudInterceptor {
|
|||||||
MexicoCentral: "🇲🇽",
|
MexicoCentral: "🇲🇽",
|
||||||
NorthCentralUs: "🇺🇸",
|
NorthCentralUs: "🇺🇸",
|
||||||
SouthCentralUS: "🇺🇸",
|
SouthCentralUS: "🇺🇸",
|
||||||
|
SwedenCentral: "🇸🇪",
|
||||||
UKSouth: "🇬🇧",
|
UKSouth: "🇬🇧",
|
||||||
WestEurope: "🇪🇺",
|
WestEurope: "🇪🇺",
|
||||||
WestUS: "🇺🇸",
|
WestUS: "🇺🇸",
|
||||||
|
5
dist/better-xcloud.user.js
vendored
5
dist/better-xcloud.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 5.9.2
|
// @version 5.9.3-beta
|
||||||
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
// @description Improve Xbox Cloud Gaming (xCloud) experience
|
||||||
// @author redphx
|
// @author redphx
|
||||||
// @license MIT
|
// @license MIT
|
||||||
@ -107,7 +107,7 @@ class UserAgent {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var SCRIPT_VERSION = "5.9.2", SCRIPT_VARIANT = "full", AppInterface = window.AppInterface;
|
var SCRIPT_VERSION = "5.9.3-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, supportMkb = AppInterface || !userAgent.match(/(android|iphone|ipad)/), 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, supportMkb = AppInterface || !userAgent.match(/(android|iphone|ipad)/), STATES = {
|
||||||
supportedRegion: !0,
|
supportedRegion: !0,
|
||||||
@ -6623,6 +6623,7 @@ class XcloudInterceptor {
|
|||||||
MexicoCentral: "🇲🇽",
|
MexicoCentral: "🇲🇽",
|
||||||
NorthCentralUs: "🇺🇸",
|
NorthCentralUs: "🇺🇸",
|
||||||
SouthCentralUS: "🇺🇸",
|
SouthCentralUS: "🇺🇸",
|
||||||
|
SwedenCentral: "🇸🇪",
|
||||||
UKSouth: "🇬🇧",
|
UKSouth: "🇬🇧",
|
||||||
WestEurope: "🇪🇺",
|
WestEurope: "🇪🇺",
|
||||||
WestUS: "🇺🇸",
|
WestUS: "🇺🇸",
|
||||||
|
@ -25,6 +25,7 @@ export class XcloudInterceptor {
|
|||||||
MexicoCentral: '🇲🇽',
|
MexicoCentral: '🇲🇽',
|
||||||
NorthCentralUs: '🇺🇸',
|
NorthCentralUs: '🇺🇸',
|
||||||
SouthCentralUS: '🇺🇸',
|
SouthCentralUS: '🇺🇸',
|
||||||
|
SwedenCentral: '🇸🇪',
|
||||||
UKSouth: '🇬🇧',
|
UKSouth: '🇬🇧',
|
||||||
WestEurope: '🇪🇺',
|
WestEurope: '🇪🇺',
|
||||||
WestUS: '🇺🇸',
|
WestUS: '🇺🇸',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user