mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-26 17:31:43 +02:00
Add "SafariWorkaround" flag
This commit is contained in:
@ -25,6 +25,7 @@ const DEFAULT_FLAGS = {
|
|||||||
PreloadRemotePlay: true,
|
PreloadRemotePlay: true,
|
||||||
PreloadUi: false,
|
PreloadUi: false,
|
||||||
EnableXcloudLogging: false,
|
EnableXcloudLogging: false,
|
||||||
|
SafariWorkaround: true,
|
||||||
|
|
||||||
UseDevTouchLayout: false,
|
UseDevTouchLayout: false,
|
||||||
}
|
}
|
||||||
@ -3428,8 +3429,7 @@ let LOCALE = Translations.getLocale();
|
|||||||
const t = Translations.get;
|
const t = Translations.get;
|
||||||
|
|
||||||
|
|
||||||
const ENABLE_SAFARI_WORKAROUND = true;
|
if (BX_FLAGS.SafariWorkaround && document.readyState !== 'loading') {
|
||||||
if (ENABLE_SAFARI_WORKAROUND && document.readyState !== 'loading') {
|
|
||||||
// Stop loading
|
// Stop loading
|
||||||
window.stop();
|
window.stop();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user