Disable xCloud analytics also remove the Feedback button in the Guide menu

This commit is contained in:
redphx 2024-06-02 09:57:04 +07:00
parent e98fa29271
commit 850afb4ca7

View File

@ -12,13 +12,22 @@ export function addCss() {
div[class^=HomePage-module__bottomSpacing]:has(button[class*=SocialEmptyCard]), div[class^=HomePage-module__bottomSpacing]:has(button[class*=SocialEmptyCard]),
button[class*=SocialEmptyCard], button[class*=SocialEmptyCard],
/* Hide "Start a party" button in the Guide menu */ /* Hide "Start a party" button in the Guide menu */
#gamepass-dialog-root div[class^=AchievementsPreview-module__container] + button[class*=HomeLandingPage-module__button], #gamepass-dialog-root div[class^=AchievementsPreview-module__container] + button[class*=HomeLandingPage-module__button]
{ {
display: none; display: none;
} }
`; `;
} }
if (getPref(PrefKey.BLOCK_TRACKING)) {
css += `
/* Remove Feedback button in the Guide menu */
#gamepass-dialog-root #Home-panel button[class*=FeedbackButton] {
display: none;
}
`;
}
// Reduce animations // Reduce animations
if (getPref(PrefKey.REDUCE_ANIMATIONS)) { if (getPref(PrefKey.REDUCE_ANIMATIONS)) {
css += ` css += `