head.html: enable prefetch for the adblocking script

Maybe resolves the message making a quick blink?
This commit is contained in:
Aminda Suomalainen 2024-05-29 07:46:36 +03:00
parent be75a68c34
commit ba26ccdb69
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

2
_includes/head.html vendored
View File

@ -31,6 +31,6 @@
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" /> <link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" />
<!-- https://github.com/macdonst/detect-missing-adblocker --> <!-- https://github.com/macdonst/detect-missing-adblocker -->
<script type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script> <script rel="prefetch" type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css"> <link rel="stylesheet" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
</head> </head>