diff --git a/head.html b/head.html
index 9711645d..e192d990 100644
--- a/head.html
+++ b/head.html
@@ -12,17 +12,18 @@
});
const headerMeta = document.querySelector('meta[name="header"]');
- const link = document.createElement('link');
- link.setAttribute('rel', 'preload');
- link.setAttribute('as', 'fetch');
- link.setAttribute('crossorigin', 'anonymous');
const url = headerMeta?.content.trim();
- link.href = url ? `${url}.plain.html` : 'header.plain.html';
- document.head.appendChild(link);
+ if (url.toLowerCase() !== 'false') {
+ const link = document.createElement('link');
+ link.setAttribute('rel', 'preload');
+ link.setAttribute('as', 'fetch');
+ link.setAttribute('crossorigin', 'anonymous');
+ link.href = url ? `${url}.plain.html` : 'header.plain.html';
+ document.head.appendChild(link);
+ }
-