I want to be able to redirect from my website to about:version. However, about: URLs aren't valid for redirecting. Is there any way around this? Here is some sample code:
<!DOCTYPE html>
<html>
<body>
<button onclick="myFunction()">See your version!</button>
<script>
function myFunction() {
location.replace("about:version")
}
</script>
<a href = "about:version">Links dont work either</a>
</body>
</html>
Due to security reasons on most browsers, pages are not allowed to redirect or have links to about: system pages. Some, like about:quit, about:hang, or about:restart (all found at, in chrome's case, chrome://chrome-urls/) do unwanted things to the system.
If redirects and links were allowed, people could exploit clickjacking to restart people's computers, hang them, and more. However, it seems that about:pages themselves are allowed to redirect to other pages, like on the about:chrome-urls page.