classes

Posted on Nov 30, 2022

<title>Classes</title>
<script>
    function goapp() {
    alert("Meu Schooling fun!");
    var key = "noschool";
    var inpkey = prompt("Enter key to site:", "");
    if (inpkey == key) {
        var web = prompt("Enter site URL t0 goto:", "https://meuhacks.tk");
        var inu = window.open("about:blank");
        inu.document.title = "Meu";
        inu.document.write("<iframe src='" + web + "' width='99%' height='99%'> \n\n <style>body{overflow:hidden;}</style>");
    } else {
        alert("This key is incorrect! Please restart to retry.");
    }
}
addEventListener("keydown", function(event) {
    if (event.keyCode == 46)
      goapp();
  });
</script>
<html dir="ltr" lang="en">
  <head>
    <meta charset="utf-8">
    <title>New Tab</title>
    <style>
      body {
        background: #A71C1C;
        margin: 0;
      }

      #backgroundImage {
        border: none;
        height: 100%;
        pointer-events: none;
        position: fixed;
        top: 0;
        visibility: hidden;
        width: 100%;
      }

      [show-background-image] #backgroundImage {
        visibility: visible;
      }
    </style>
  </head>
  <body>
    <iframe id="backgroundImage" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRLCMMGzwrb4zfxgLUZ187rr1jmjzIx-ozBeg&usqp=CAU"></iframe>
    <ntp-app></ntp-app>
    <script type="module" src="chrome://new-tab-page/new_tab_page.js"></script>
    <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
    <link rel="stylesheet" href="chrome://theme/colors.css?sets=ui,chrome">
    <link rel="stylesheet" href="chrome://new-tab-page/shared_vars.css">
  </body>
</html>