<!DOCTYPE html>
<html>
<script>
let params = new URLSearchParams(location.search);
let prefetchUrl = params.get('url') ?? 'prefetch.https.html?page=2';
let script = document.createElement('script');
script.type = 'speculationrules';
script.textContent = JSON.stringify({ prefetch: [{ source: "list", urls: [prefetchUrl] }] });
document.head.appendChild(script);
</script>
<body> This is a test page for prefetch! </body>
</html>