disable all cosmetic awards on devices with less than 3GB ram

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-24 16:17:45 +02:00
parent 1d29aaa00f
commit ea37966aff
1 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,17 @@
<head>
<meta name="description" content="{{config('DESCRIPTION')}}">
<script>
if (!(navigator.deviceMemory < 3))
{
const head = document.getElementsByTagName('HEAD')[0];
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = "/assets/css/disable_awards.css?v=1";
head.appendChild(link);
}
</script>
{% if v and v.id == AEVANN_ID %}
<script>
window.addEventListener( "pageshow", function (e) {