script> document.addEventListener("DOMContentLoaded", function () { if ('supports' in HTMLScriptElement && HTMLScriptElement.supports('speculationrules')) { const script = document.createElement('script'); script.type = 'speculationrules'; script.textContent = JSON.stringify({ "prerender": [ { "source": "document", "where": { "href_matches": "/.*" } } ] }); document.head.appendChild(script); } else { const instant = document.createElement('script'); instant.src = 'https://instant.page/5.1.1'; instant.type = 'module'; instant.defer = true; document.head.appendChild(instant); } });