Disables the dark reader

This commit is contained in:
BOTAlex 2024-06-10 14:24:41 +02:00
parent a2c00eb098
commit 94d3d722ae
1 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,13 @@
hideOnPrint = params.get('hideOnPrint') === '1'; hideOnPrint = params.get('hideOnPrint') === '1';
//console.log(hideOnPrint); //console.log(hideOnPrint);
}); });
import { onMount } from 'svelte';
onMount(() => {
const lock = document.createElement('meta');
lock.name = 'darkreader-lock';
document.head.appendChild(lock);
});
</script> </script>
<!-- Detect mobile --> <!-- Detect mobile -->