Disable header & footer

This commit is contained in:
redphx
2025-02-05 20:11:24 +07:00
parent 5ce7ade574
commit 5949e1e411
3 changed files with 14 additions and 1 deletions

View File

@@ -81,6 +81,14 @@ export const BxExposed = {
BxLogger.error(LOG_TAG, e);
}
// Disable header & footer
try {
state.uhf.headerMode = 'Off';
state.uhf.footerMode = 'Off';
} catch (e) {
BxLogger.error(LOG_TAG, e);
}
// Redirect to /en-US/play if visiting from an unsupported region
try {
const xCloud = state.xcloud.authentication.authStatusByStrategy.XCloud;