mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Update better-xcloud.user.js
This commit is contained in:
parent
33b2b36e2b
commit
b9e78f09d3
8
dist/better-xcloud.user.js
vendored
8
dist/better-xcloud.user.js
vendored
@ -6187,7 +6187,13 @@ function setupSettingsUi() {
|
|||||||
target: "_blank",
|
target: "_blank",
|
||||||
tabindex: 0
|
tabindex: 0
|
||||||
}, `❤️ ${t("support-better-xcloud")}`);
|
}, `❤️ ${t("support-better-xcloud")}`);
|
||||||
$wrapper.appendChild($donationLink), $container.appendChild($wrapper);
|
$wrapper.appendChild($donationLink);
|
||||||
|
try {
|
||||||
|
const appVersion = document.querySelector("meta[name=gamepass-app-version]").content, appDate = new Date(document.querySelector("meta[name=gamepass-app-date]").content).toISOString().substring(0, 10);
|
||||||
|
$wrapper.appendChild(CE("div", { class: "bx-settings-app-version" }, `xCloud website version ${appVersion} (${appDate})`));
|
||||||
|
} catch (e) {
|
||||||
|
}
|
||||||
|
$container.appendChild($wrapper);
|
||||||
const $pageContent = document.getElementById("PageContent");
|
const $pageContent = document.getElementById("PageContent");
|
||||||
$pageContent?.parentNode?.insertBefore($container, $pageContent);
|
$pageContent?.parentNode?.insertBefore($container, $pageContent);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user