<!DOCTYPE html> | |
<body> | |
<script> | |
// Automatically redirects the page to a new URL on load. | |
// Load this document with a URL like: | |
// "feature-policy/resources/redirect-on-load.html#https://www.example.com/" | |
window.onload = function () { | |
document.location = document.location.hash.substring(1); | |
} | |
</script> | |
</body> |