From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- includes/components/footer.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'includes/components/footer.inc') diff --git a/includes/components/footer.inc b/includes/components/footer.inc index 78c3148..51e35d1 100644 --- a/includes/components/footer.inc +++ b/includes/components/footer.inc @@ -39,6 +39,13 @@ global $pageFile; }); window.fetch("/api/rename?name=" + encodeURIComponent("Cold Haze Web (" + UAParser().browser.name + " on " + UAParser().os.name + ")")); + + if (document.createElement("canvas").getContext("webgl") === null) { + let style = document.createElement("style"); + style.innerText = "* { backdrop-filter: none !important; }"; + document.head.appendChild(style); + try { document.getElementById("gpuWarning").style.display = ""; } catch (e) {} + } -- cgit