1

I am currently working on a program that sends you to chrome://about/ using the window.open("chrome://about"); method. When I change the URL to something like www.google.com it works. Is this just my code or is it a problem with the window.open() command?

<!doctype html>

<html >
  <head>
    <link rel="stylesheet" href="lib/style.css">
    <script src="lib/script.js"></script>
  </head>

  <body onload="aboutPage()">
    <h1>Open About</h1>
  </body>
  <script>
    function aboutPage(){
      window.open("chrome://about")
    }
  </script>
</html>
I-amcool
  • 13
  • 4

0 Answers0