diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-22 23:06:12 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-22 23:06:12 +0200 |
commit | 23563c7188e089929b60f9e10721c6fc43a220ff (patch) | |
tree | edfe2b009c82900d4ac27db02222d2f68dcad846 /includes/components/footer.inc | |
parent | 7a7a49332df7c852abbaa33c7e8e87f93d064d61 (diff) | |
download | pluralconnect-23563c7188e089929b60f9e10721c6fc43a220ff.tar.gz pluralconnect-23563c7188e089929b60f9e10721c6fc43a220ff.tar.bz2 pluralconnect-23563c7188e089929b60f9e10721c6fc43a220ff.zip |
Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated)
Diffstat (limited to 'includes/components/footer.inc')
-rw-r--r-- | includes/components/footer.inc | 7 |
1 files changed, 7 insertions, 0 deletions
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) {} + } </script> <?php if (isset($_GET["performance"])): ?> |