Code of BCW - May be outdated
<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
        rel="stylesheet">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Clever | Portal</title>
    <!-- <link> and <title> tags to disguise page as the Clever Portal when you go on a different tab (works every time when teachers walk by your screen)-->
    <link rel="icon" type="image/png"
        href="https://resources.finalsite.net/images/f_auto,q_auto/v1689877141/mooreschoolscom/emadd6nvplrnh1vsswjf/Clever-Logo.jpg">
    <style>
        body {
            margin: 0;
            padding: 0;
            background-image: url('https://preview.redd.it/tnva3hgpheu71.gif?width=540&auto=webp&s=091ff091cdf7a1085707ded3d09216441cba2d68');
            background-color: #000;
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            color: #fff;
            font-family: Arial, sans-serif;
            text-align: center;
        }

        h1 {
            margin-top: 180px;
            font-size: 24px;
            font-weight: 700;
        }

        .button {
            display: inline-block;
            margin-top: 10px;
            margin-left: 2px;
            margin-right: 2px;
            padding: 10px 20px;
            background-color: #00008B;
            color: #00FFFF;
            border: 2px solid #00ff;
            border-radius: 25px;
            /* Create rounded edges */
            font-weight: 700;
            font-family: Raleway;
            /* Use the Raleway font imported from Google Fonts in the <head> for the buttons*/
            cursor: pointer;
            transition: all 0.3s ease;
            /* Smooth transition for the glow effect */
            box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
            /* Initial shadow effect */
        }

        .button:hover {
            background-color: #4169E1;
            color: #00FFFF;
            box-shadow: 0 0 15px rgba(255, 255, 255, 1),
                /* Glow effect */
                0 0 30px rgba(255, 255, 255, 0.8);
            /* More intense glow effect */
        }

        #randomPhrase {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            font-weight: bold;
        }

        .hidden {
            display: none;
        }

        /* Updated styling for the BLOCKS message with white color */
        #blocksMessage {
            font-size: 18px;
            font-weight: bold;
            color: #fff;
            /* White color */
            margin-top: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        #movingText {
            position: absolute;
            top: 50px;
            /* Adjust according to your layout */
            left: -100%;
            /* Start off the screen on the left */
            font-size: 18px;
            /* Match the font size with the blocks message */
            font-weight: bold;
            /* Make it bold */
            color: #fff;
            /* White color */
            text-transform: uppercase;
            /* Uppercase text for consistency */
            animation: moveAcross 10s linear infinite;
            /* Animation settings */
        }

        @keyframes moveAcross {
            0% {
                left: -100%;
                /* Starting position off the left */
            }

            100% {
                left: 100%;
                /* Ending position off the right */
            }
        }
    </style>
</head>

<body>
    <!-- New BL0CKS messages -->
    <div id="blocksMessage">ANYONE MAY CONTACT ME AT <a href="mailto:iamohio1@outlook.com"
            style="color:blue">iamohio1@outlook.com</a></div>

    <!-- Moving Text -->
    <div id="movingText">HAVE A GREAT TIME!</div>

    <!-- <img src="https://i.imgur.com/v3zKsaK.png"> chattydev -->
    <h1>BRITISH CW REPLACED CW >:D</h1>
    <h3>Update Log: The CW background and buttons are back :D New games, apps, buttons</h3>
    <button id="launchGames" class="button">Games</button>
    <button id="launchApps" class="button">Apps</button>
    <button id="makeapr0xy" class="button">Make a pr0xy link</button>
    <button id="launchBrowser" class="button">Browser</button>
    <button id="launchBrowsertwo" class="button">Browser List</button>
    <button id="launchUltraviolet" class="button">Ultraviolet</button>
    <button id="lanschool" class="button">Search history byp@ss</button>
    <button id="chat" class="button">Online Chat</button>
    <button id="exploits" class="button">Tools/Exploits</button>
    <button id="downloads" class="button">Downloads</button>
    <button id="newestver" class="hidden">Newest BM Version</button>
    <button id="openInAboutBlank" class="button">About:blank Cloak</button>
    <button id="changelog" class="hidden">Changelog</button>
    <button id="links" class="button">BCW Links</button>
    <!-- if any of the button classes are "hidden", they are likely useless or broken -->
    <div id="randomPhrase"></div>
    <div id="instructions" class="hidden">
        <div id="htmlCodeSection" class="hidden">
            <!-- Custom HTML code will go here -->
            <h2>Custom HTML Code</h2>
            <p>This is a placeholder for your custom HTML code. Replace this content as needed.</p>
            <p>Example: <strong>&lt;div&gt;Your HTML content here&lt;/div&gt;</strong></p>
        </div>
        <h2>READ THIS</h2>
        <p>This is a huge work in progress. If anything gets blocked, follow these
            steps:<br>Restart your device (Make sure the screen turns black, do power button + refresh key on chromebook).<br>DON'T restore tabs, open this file again, and nothing should be blocked. If it's still blocked, play the games and apps because they can't be blocked.<br>Sorry for the yapping, thanks :D - British Chattyice
        </p>
        <button id="continueButton" class="button">Continue</button>
    </div>
    <button id="ruffleButton" class="button hidden">Ruffle</button>
    <audio id="idiotAudio"
        src="https://ia600208.us.archive.org/35/items/youareanidiotgif/You%20are%20an%20idiot%21%21.mp3" loop></audio>

    <script>
        document.getElementById("launchBrowser").addEventListener("click", function() {
    var htmlSection = document.getElementById("htmlCodeSection");
    // Toggle visibility of the HTML section
    htmlSection.classList.toggle("hidden");
  });
    </script>
    <script>
        document.addEventListener("DOMContentLoaded", function() {
      var phrases = [
       "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "Ur computer has virus",
        "Sponsored by.... Nobody :D",
        "Bro u gotta lock in - Josh",
        "(╯°□°)╯︵ ┻━┻",
        "ಠ_ಠ",
        "(ノಥ益ಥ)ノ ┻━┻",
        "ლ(ಠ益ಠ)ლ",
        ":D",
        "( ͡° ͜ʖ ͡° )",
        "☉_☉",
        "・_・",
        "ヽ༼ ಠ益ಠ ༽ノ",
        "ᕙ(•̀‸•́‶)ᕗ",
        "-_-",
        ":0",
        "ERROR - SRC=TROJAN_VIRUS.EXE_RUNFILE NOT FOUND",
        "it's super sigma, greg",
        "chromebooks suck",
        "forgot my pencil",
        "nahh im not blocking the games during the day",
        "oh the weather outside is rizzy",
        "school lunch is mid",
        "teacher caught me playing games again",
        "sorry mr b.... again",
        "woahh is this a splash text?",
        "PINK GUY - FURR EARRAPE IS FIRE",
        "GlacierOS got done dirty by goguardian",
        "https://bookingportal.mounthoodlodge.info",
        "my homework ate my dog",
        "snow day seems fun",
        "brainrot is bad",
        "ok but could you make this load faster than the average coke addict",
        "spiders are freaky",
        "favian is freaky",
        "cascadia font is the goat",
        "i wonder what people do on their 69th birthday",
        "fun fact: skribbl.io was the first game I ever played on my school chromebook, back then securly didn't block it and goguardian wasn't installed yet in our district. that's also how I got dirty minded!",
        "chromebook screens are smallllllllllll",
        "thanks for the stylish new buttons, british man website creator! your website is fire, please talk to me :D",
        "now i want to talk to british man website creator more than ever",
        "bmw dev contact me at iamohio1@outlook.com would you? :D",
        "my eyes feel squished after using a chromebook",
        "nah that aint happening, if they removed goguardian kids would try to play brawl stars and roblox and minecraft and this in cla- wait this?",
        "all of these are made with 2 quotation marks with the message inside, and then a comma after the ending quotation mark to let the other messages in the below line appear",
        "my former bug report form's first response: What is the bug? - wussup lil spoon can you fix friday night funkin please vro or imma jump yo all diddy",
        "ctrl + ] to move this line to the right",
        "C H A I R",
        "did you know that ctrl + w on this tab gives you a secret unblocked windows OS downloadable as an HTML file for you to have an unblocked browser, desktop games, and vscode?",
        "fun fact: I was scrolling on html.cafe/gallery/ because I found some great sites, like a proxy and other gamess. Then I found this icon that said Download latest version, so I clicked on it and the download button, and when I opened the file, it was British man website! I then found it had working Roblox and ripped off the site and made it chatty",
        "showers at science camp were freaky we had people jerking, freaky, and talking bout their meatsticks having icicles below them. i had no normal people in my cabin after wednesday D:",
        "",
        "fortnite is cringe",
        "ohh the weather outside is rizzy, rizzy, i tell you, rizzy, it's rizzy outside, rizzy, rizzy, oh yeah, rizzy rizzy weather outside, rizzy, yeah",
        "help me",
        "github.dev seems cool",
        "new text editor unlocked!",
        "new game website unblocked!",
        "Hrm, let me think about that.",
        "There are 2 r's in strawberry",
        "chatgpt is dumb bro wdym theres only 2 r's in strawberry it was so funny when my dad showed me that after he watched a video on it",
        "getliner.com is fire",
        "whoops i got html.cafe blocked :/",
        "barneywebsite... come back",
        "https://youtube.com/channel/UCnHIZIrhEPBfQJNuQ79O3oA check out the creator of barneywebsite",
        "github.dev is cool as hell",
        "i hope i dont get codehs blocked",
        "openprocessing is.. mid",
        "dinguschan is a W (thanks for helios and dingusproxy)",
        "What an interesting surprise!",
        "index.html :D",
        "github.com - goathub.com",
        "sigma representation",
        "Syntaxpad glacieros code editor?",
        "bomb instructions - Google Search",
        "if you search worst song on youtube thick of it comes up as the first result",
        "paint me green and call me a pickle",
        "sigma boy sucks",
        "a glacierOS unblocked link :D",
        "noescape.exe has been successfully installed. would you like to open it?",
        "12/18/2024 8:58 pm",
        "Look it's september 11",
        "BCW Links",
        "the cw theme is back :D",
        "npm install teacher-destroying-tutorial.exe",
        "Hey siri, will AI take over the world?",
        "Gemini, will AI take over the world?",
        "Alexa, will AI take over the world?",
        "Man,dont you hate when youre all like Man i wanna kill some rats, and then the bch-ass animal companys like No. So.. what now?",
        "PETA on my dk, PETA PETA on my dk",
        "SOME PEOPLE SUCK - SPS >:D",
        "Look dad i found a pickle",
        "krunker.io?",
        "",
        "teacher.destroy()",
        "/mute mrs-rengifo",
        "i accidently muted the teacher",
        "now with more html",
        "roblox is boring",
        "yoyo",
        "hehe",
        "what is webmc",
        "oh webmc seems cool",
        "eaglercraft 1.21.70 real no scam download --->",
        ":D",
        "bro called them emoticons",
        "UnexpectedPillow837 is your new child's name :)",
        "Sir we never said yes to UnexpectedPillow837",
        "Sorry the government needs random generated xbox names as new baby names to prevent repeating names plus they get money for it",
        "https://ibeatkids.com",
        "elias freaky",
        "uhh wdym elias was doing inappropriate things to little kids at recess",
        "69 wpm",
        "",
        "when you get the invisible splash and thought the website broke",
        "cops when they see someone with a gun in roblox: hes a criminal recreate 9/11 on his car dont let him get away!!!!!!!!1!11!1111!!",
        "free middy",
        "11:28",
        "/e dance",
        "commit 10 reasons why",
        "i been shooting dogs with BB guns since i was 5",
        "teacher coming: *gulp",
        "google maps leaked my address on my own chromebook while i was presenting",
        "windows >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> chromebook",
        "you said free website hosting not 1 cent",
        "look hes giving me threats",
        "u suck at slope",
        "TSUNAMI WARNING 12/5/24 REAL COMING TO YOUR BIG AHH CHICKEN",
        "bro shut up the tsunami is in the coast you arent gonna die",
        "are you going to kill me? no voicebox uncanny valley thingy peeking around the wall edge: what? nooooo! i mean, yes, but not for a very long while now",
        "turn the light on if you see your clothes as a person in your room chair",
        "are ya winning, son? no dad i just lost to a bacon with all my hacks on",
        "https://www.youtube.com/watch?v=4iV4Q7z46dA",
        "wth is 1 hour of bloxburg news channel",
        "vscode pls load pls load pls load pls load pls load pls load pls load pls load",
        "broblox6715",
        "we're in hell woah oh ohh this is how the story goes",
        "Shell shockers please work please work please work please work please work",
        "Chat is this real?",
        "100% Legit Robux Vbucks Cracked Minecraft download 100% no scam real",
        "420/69% Legit Free Roblox Robux easy survey at brobux.win real",
        "we're in heaven OH OH OH OHH OH O- OH OH OH OHOH OH OH. OHHHHHHHOHOHOH OH OH OH OHOH OH",
        "GTA 6 free download! ------>",
        "guys this is something funny",
        "can someone just send me a suggestion already this is boring",
        "oh yay 7 suggestions.. only 1 worked and wasnt dumb",
        "goguardian you need to leave",
        "i crafted a stone pick trust",
        "neh neh neh neh",
        "play presentation experience on roblox",
        "bloxflip shut down :D",
        "gamble /j",
        "this is the only surviving ogsd game website",
        "line 276, col 26. spaces: 2. UTF-8 LF HTML Layout: us",
        "why block vscode its the goat",
        "rip github pages. goguardian why block the easiest website deployment service :(",
        "github.io pages used to be unblocked in like 2021",
        "https://github.com/Chattyice234/british-cw",
        "zhen yu thinks hes special after i sent him unblocked games and exploits google doc",
        "URLS are overrated >:l",
        "not the best idea to use during an iready test",
        "why does now.gg not work at school D:",
        "shut up you discombobulated doorknob",
        "where did he go? he discombobulated outside of existence. Tragic",
        "Tortilla?",
        "tortilla blanket",
        "Hello",
        "bro wdym im supposed to use 6 px font size? thats tinier than my ba-",
        "(((colorful parentheses)))",
        "not freaky site anymore :D",
        "hex code is #69420",
        "woah glacierOS code editor unlocked",
        "GLACIER OS",
        "fun fact: the mcdonalds logo's colors are meant to make you hungry. the hex code of the red color is FF000d. pretty cool",
        "dumbrock edition definition: auto jump. sprint jump animation. *walking around normally* YOU DIED! pvp: these animations look like a ripoff animation made with a 10 fps editor",
        "roblox.uno",
        "getliner.com doesnt work D:",
        "roblox please work please work please work please work please work please work please work please work ",
        "its 12:00 rn. man im hungry i dont want to wait 15 mins for lunch",
        "i wake up in the mornin feelin  like b middy",
        "freakbob is calling",
        "this is anti freakbob",
        "Like the last website, but without freaky stuff!",
        "No i'm not adding freaky stuff to this site stay mad",
        "Me after seeing the 10th goofy ahh ripoff this week",
        "Pissing off your principal since 2023",
        "Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. Crazy? I was crazy once. they locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy. ",
        "Probably not coded by ChatGPT",
      ];

      var randomIndex = Math.floor(Math.random() * phrases.length);
      var randomPhrase = phrases[randomIndex];
      document.getElementById("randomPhrase").textContent = randomPhrase;
    });

    document.getElementById("launchGames").onclick = function() {
      document.body.innerHTML = "";
      setTimeout(function() {
        var games = [
      { name: "Skribbl.io", url: "https://skribbl.io" },
      { name: "Minecraft (1.5)", url: "https://eaglercraft.glitch.me/" },
      { name: "Minecraft (1.8)", url: "https://eaglercraft-archive.github.io/Koneclient-1.8-web/" },
      { name: "Minecraft 1.8 (WASM, FPS BOOST)", url: "https://eaglercraft.com/mc/1.8.8-wasm/" },
      { name: "Minecraft (1.9)", url: "https://html.cafe/x56360a59" },
      { name: "Resent Client Eagler (1.8)", url: "https://reslauncher4.vercel.app" },
      { name: "Starlike Client Eagler (1.16- kinda)", url: "https://starlike.zumbiepig.dev/" },
      { name: "Eaglercraft (1.20)", url: "https://dfs3rzq44v6as.cloudfront.net/?frame=fullscreen/#/lessons/964c4358-60a7-4121-908e-63f6ae6e5ef0" },
      { name: "Eaglercraft Versions & Clients", url: "https://html.cafe/x7922b580" },
      { name: "Roblox (Easyfun.gg)", url: "https://www.easyfun.gg/games/roblox.html" },
      { name: "Roblox (Now.gg)", url: "https://dashboard-cq4z.onrender.com/?ng_ifp_partner=skool" },
      { name: "Roblox (Now.gg 2)", url: "https://dfs3rzq44v6as.cloudfront.net/?frame=fullscreen/#/lessons/550673cd-2d7e-437e-ab86-baa249b52dd0" },
      { name: "Roblox (Now.gg 3)", url: "https://nowgg.lol/" },
      { name: "Roblox (Now.gg 4)", url: "https://pathetic-roblox-main.vercel.app/" },
      { name: "Roblox (Now.gg 5)", url: "https://html.cafe/x8bcb5934" },
      { name: "Tortilla Games", url: "https://dfs3rzq44v6as.cloudfront.net"},
      { name: "Ultraviolet", url: "https://dfs3rzq44v6as.cloudfront.net/#/prxy" },
      { name: "Five Nights At Winston's", url: "https://g.deev.is/fnaw" },
      { name: "Neal.fun", url: "https://neal.fun" },
      { name: "Subway Surfers", url: "https://dddavit.github.io/subway/" },
      { name: "Slope", url: "https://mathadventure1.github.io/slope/slope/index.html" },
      { name: "Slope 2", url: "https://d3rtzzzsiu7gdr.cloudfront.net/gameplayer/index.html?Slope%202" },
      { name: "Slope 3", url: "https://slope3.com/" },
      { name: "Cookie Clicker", url: "https://eli-schwartz.github.io/cookieclicker/" },
      { name: "Drive Mad", url: "https://ubg365.github.io/drive-mad/play.html" },
      { name: "Drive Mad Mod", url: "https://play.fancade.com/63BA239C20C40BF3" }, 
      { name: "BitLife", url: "https://ubg365.github.io/bitlife-life-simulator/play.html" },
      { name: "Ztype", url: "https://zty.pe" },
      { name: "3kh0.github.io (ad spammy)", url: "https://3kh0.github.io" },
      { name: "Hover Racer Drive", url: "https://ubg365.github.io/hover-racer-drive/" },
      { name: "Monkey Mart", url: "https://ubg365.github.io/monkey-mart/play.html" },
      { name: "Drift Boss", url: "https://ubg365.github.io/drift-boss/" },
      { name: "Madalin Stunt Cars 2", url: "https://ubg100.github.io/games/Madalin/index.html" },
      { name: "Breaking the bank", url: "https://mountain658.github.io/zbreakingthebank.html" },
      { name: "Escaping the prison", url: "https://mountain658.github.io/zescapetheprison.html" },
      { name: "Stealing the diamond", url: "https://mountain658.github.io/zstealingthediamond.html" },
      { name: "Infiltrating the airship", url: "https://sz-games.github.io/games/Flash.html?game=/games/henry-airship/infiltratingtheairshipgame.swf" },
      { name: "Fleeing the complex", url: "https://sz-games.github.io/games/Flash.html?game=https://sz-games.github.io/Games6/Henry%20Stickmin%20-%20Fleeing%20the%20Complex.swf?raw=true" },
      { name: "Free Rider", url: "https://freeriderhd.com" },
      { name: "Run 3", url: "https://lekug.github.io/tn6pS9dCf37xAhkJv/" },
      { name: "Bloxorz", url: "https://ad-freegames.github.io/flash/game/bloxorz.html" },
      { name: "Drift Hunters", url: "https://htmlxm.github.io/h/drift-hunters/" },
      { name: "Venge.io", url: "https://venge.io/" },
      { name: "Highway Racer Pro", url: "https://unblocked-games.s3.amazonaws.com/highway-racer-pro.html" }, 
      { name: "Hole.io", url: "https://hole-io.com/" },
      { name: "Drift Hunters 2024", url: "https://unblocked-games.s3.amazonaws.com/drift-hunters-2024.html" },
      { name: "Webcraft", url: "https://jesgran.is-a.dev/webcraft/" }, 
      { name: "Sandspiel Studio", url: "https://studio.sandspiel.club" },
      { name: "Gamble", url: "https://www.yurk.com/games/black/" },
      { name: "FNAF", url: "https://ubg77.github.io/fix/fnaf1/" },
      { name: "Krunker.io", url: "https://krunker.io/" },
      { name: "Tomb of the mask", url: "https://mountain658.github.io/g/tombofthemask/index.html" },
      { name: "worldguessr", url: "https://www.worldguessr.com/" },
      { name: "MinecraftSkins.net", url: "https://minecraftskins.net" },
      { name: "Now.gg", url: "https://now.gg/games.html" },
      { name: "Skindex", url: "https://skindex.pro" },
      { name: "RadioStations", url: "https://radio.garden/" },
      { name: "Windows93Emulator", url: "https://v1.windows93.net/" },
      { name: "Mr. Bullet", url:"https://www.yurk.com/games/mrbullet/" },
      { name: "Sandspiel", url: "https://sandspiel.club" },
      { name: "Slow Roads", url: "https://slowroads.io" },
      { name: "Edys Car Simulator", url: "https://unblocked-games.s3.amazonaws.com/edys-car-simulator.html" },
      { name: "Backrooms", url: "https://adfree3kh0.github.io/projects/backrooms/index.html" },
      { name: "Impossible Quiz", url: "https://d3rtzzzsiu7gdr.cloudfront.net/gameplayer/index.html?Impossible%20Quiz" },
      { name: "Among Us Singleplayer", url: "https://adfree3kh0.github.io/projects/among-us/index.html" }, 
      { name: "Windows XP Emulator", url: "https://winxp.vercel.app/" },
      { name: "Eggy Car", url: "https://www.yurk.com/games/eggycar/" },
      { name: "Turbowarp Packager (Download Scratch Projects)", url: "https://packager.turbowarp.org" },
      { name: "Bad Piggies", url: "https://www.friv.cm/bad-piggies/fullscreen/" },
      { name: "Cluster Rush",  url: "https://duckmath.org/g4m3s/cluster-rush.html" },
      { name: "Crossy Road", url: "https://selenite.cc/semag/crossyroad/index.html" },
      { name: "1v1.lol", url: "https://selenite.cc/semag/1v1lol/index.html" },
      { name: "Bloxd.io", url: "https://bloxd.io" },
      { name: "CubeRealm.io", url: "https://cuberealm.io/" },
      { name: "Aim Trainer", url: "https://aimtrainer.io/" },
      { name: "Scrap Metal 1", url: "https://www.gamearter.com/game/scrap-metal/" },  
      { name: "Scrap Metal 2", url: "https://www.gamearter.com/game/scrap-metal-2/" },
      { name: "Scrap Metal 3", url: "https://adfree3kh0.github.io/projects/scrapmetal/index.html" },  
      { name: "Scrap Metal 4", url: "https://www.gamearter.com/game/scrap-metal-4/" },
      { name: "Scrap Metal 5", url: "https://www.gamearter.com/game/scrap-metal-5/" },
      { name: "Scrap Metal 6", url: "https://www.gamearter.com/game/scrap-metal-6/" },
      { name: "GameArter", url: "https://www.gamearter.com/games" },
      { name: "FreezeNova", url: "https://unblocked-games.s3.amazonaws.com/index.html"},
      { name: "Geometry Dash Lite", url: "https://selenite.cc/semag/gdlite/index.html" },
      { name: "FNAF 2", url: "https://selenite.cc/semag/fnaf2/index.html" },
      { name: "FNAF 3", url: "https://selenite.cc/semag/fnaf3/index.html" },
      { name: "FNAF 4", url: "https://selenite.cc/semag/fnaf4/index.html" },
      { name: "Selenite Minecraft", url: "https://selenite.cc/semag/eaglercraft/index.html" },
      { name: "MEGA Client", url: "https://megaclient.vercel.app" },
      { name: "LittleBigSnake", url: "https://littlebigsnake.com" },
      { name: "Surviv.io", url: "https://surviv.io" },
      { name: "Spacebar Clicker", url: "https://unblocked-games.s3.amazonaws.com/spacebar-clicker.html" },
      { name: "Deadshot.io", url: "https://deadshot.io" },
      { name: "Clicker", url: "https://elucidation.github.io/ClickerJs/" },
      { name: "Smashkarts.io", url: "https://smashkarts.io" },
      { name: "Pixel Force", url: "https://www.yurk.com/games/pixelforce/" },
      { name: "Happy Glass", url: "https://www.yurk.com/games/happyglass/" },
      { name: "Selenite (fixed)", url: "https://selenite.cc/" },
      { name: "Duck Life 1", url: "https://selenite.cc/semag/ducklife1/index.html" },
      { name: "Duck Life 2", url: "https://selenite.cc/semag/ducklife2/index.html" },
      { name: "Duck Life 3", url: "https://selenite.cc/semag/ducklife3/index.html" },
      { name: "Duck Life 4", url: "https://selenite.cc/semag/ducklife4/index.html" },
      { name: "Duck Life 5", url: "https://selenite.cc/semag/ducklife5/index.html" },
      { name: "Duck Life 6", url: "https://selenite.cc/semag/ducklife6/index.html" },
      { name: "Stick Running", url: "https://www.yurk.com/games/stickrunning/" },
      { name: "Happy Filled Glass", url: "https://www.yurk.com/games/happyfilledglass/" },
      { name: "Hypackel Games", url: "https://d3rtzzzsiu7gdr.cloudfront.net/settings.html" },  
      { name: "Elastic Man", url: "https://d21u3ic0kp9e91.cloudfront.net/elasticman/0/index.html" },
      { name: "Tunnel Rush", url: "https://ubg44.github.io/TunnelRush/" },
      { name: "Cookie Clicker 2024 (Click link)", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/cookieclicker/game/index.html" },
      { name: "Interactive Buddy", url: "https://d3rtzzzsiu7gdr.cloudfront.net/gameplayer/index.html?Interactive%20Buddy" },
      { name: "Baldis Basics", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/baldisbasics/index.html" },
      { name: "Minecraft Classic", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/minecraft-classic/index.html" },
      { name: "Angry Birds", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/AngryBirdsWebGL/index.html" },
      { name: "Minecraft 1.8", url: "https://d3rtzzzsiu7gdr.cloudfront.net/gameplayer/index.html?Eaglercraft%20(MC)#" },
      { name: "Precision Client Eagler", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/projects/precision-client/index.html" },
      { name: "2048", url: "https://2048game.com/" },
      { name: "Flappy Bird", url: "https://d3rtzzzsiu7gdr.cloudfront.net/files/flappybird/index.html" },
      { name: "1v1.lol", url: "https://d3rtzzzsiu7gdr.cloudfront.net/gameplayer/index.html?1v1.LOL%20[Needs%20Internet]" },
      { name: "Win11 in React", url: "https://win11.blueedge.me" },
      { name: "Hypackel 2", url: "https://hypackel.com" },
      { name: "Hypackel 3", url: "https://hypackel.github.io" },
      { name: "Hypackel 4", url: "https://hypackellite.vercel.app/settings.html" },
      { name: "1v1.lol Fortnite - Play at home", url: "https://1v1.lol" },
      { name: "Impossible Quiz 2", url: "https://archive.org/details/tiq2_swf" },
      { name: "Now.gg Method 2", url: "https://web.archive.org/web/20241112154118/now.gg" },
      { name: "Web Archive", url: "https://web.archive.org" },
      { name: "Astra Client Eagler", url: "https://barneycompiler.github.io/AstraClientEagler/javascript" },
      { name: "Tetris", url: "https://tetris.com/play-tetris" },
      { name: "Glitch Text Generator", url: "https://lingojam.com/GlitchTextGenerator" },
      { name: "Barney's Website ", url: "https://html.cafe/x715d6947" },
      { name: "Stickman Swing", url: "https://www.yurk.com/games/stickmanswing"},
      { name: "Google Easter Egg Games", url: "https://elgoog.im" },
      { name: "Duck Math Games", url: "https://duckmath.org/index.html" },
      { name: "Chill Radio", url: "https://www.chilltrax.com/" },
      { name: "Tower of Treasure", url: "https://beinternetawesome.withgoogle.com/en_us/interland/landing/tower-of-treasure" },
      { name: "Fancy Text Generator", url: "https://lingojam.com/FancyTextGenerator" },
      { name: "Yurk.com", url: "https://yurk.com" },
      { name: "Australian Man Website", url: "https://html.cafe/xf91164ad" },
      { name: "SigmaFart", url: "https://html.cafe/x4922b615" },
      { name: "Bottle Flip 3D", url: "https://d3rtzzzsiu7gdr.cloudfront.net/play/index.html?Bottle%20Flip%203D" },
      { name: "Friv.com", url: "https://friv.com" },
      { name: "Download British Man Website", url: "https://html.cafe/xf3b7d5cc" },
      { name: "British Man Website (Roblox!)", url: "https://html.cafe/x8a3e2b9b" },
      { name: "Helios Proxy", url: "https://html.cafe/x2dcf2854" },
      { name: "Dingus Proxy", url: "https://html.cafe/x40ceaed5" },
      { name: "Infinite Tutoring Proxy", url: "https://infinitetutoring.com.au/history/textbook?historicalfigure=browser&type=local" },
      { name: "Slither.io Ripoff", url: "https://gulper.io/" },
      { name: "Infinite Craft", url: "https://infinite-craft.com/infinite-craft/" },
      { name: "Baldis Basics Method 2", url: "https://igroutka.ru/loader/game/26471/" },
      { name: "We Become what we Behold", url: "https://gnhustgames.github.io/wbwwb/" },
      { name: "Eaglercraft Servers", url: "https://servers.eaglercraft.com/" },
      { name: "Time Shooter", url: "https://games.crazygames.com/en_US/time-shooter/index.html" },
      { name: "Time Shooter 2", url: "https://games.crazygames.com/en_US/time-shooter-2/index.html" },
      { name: "Time Shooter 3", url: "https://games.crazygames.com/en_US/time-shooter-3-swat/index.html" },
      { name: "Chrome Dino", url: "https://htmlxm.github.io/h7/dinosaur-game/" },
      { name: "Getting over it ( Scratch )", url: "https://turbowarp.org/389464290/embed?autoplay&addons=remove-curved-stage-border,pause,gamepad" },
      { name: "1v1.lol Method 3", url: "https://player.work/1v1lol/index.html" },
      { name: "HTML.cafe Gallery", url: "https://html.cafe/gallery" },
      { name: "Eaglercraft Clients", url: "https://eaglercraftx1-8.github.io/" },
      { name: "Slither.io", url: "http://slither.com/io" },
      { name: "Easyfun.gg", url: "https://easyfun.gg" },
      { name: "Minecraft Java Edition", url: "https://mcraft.fun" },
      { name: "Mood Tracker", url: "https://html.cafe/xb2c91b5a" },
      { name: "Guess The Number Game", url: "https://html.cafe/x63aefeaa" },
      { name: "HTML Editor", url: "https://spacenerd24.github.io/Online-HTML-Viewer/" },
      { name: "Selenite Method 2", url: "https://selenite-copy.pages.dev" },
      { name: "Android App Launcher", url: "https://nowgg.lol/apps/uncube/7074/now.html" },
      { name: "Astroid.gg Games + Apps + Proxy", url: "https://astroid.gg/" },
      { name: "Always Impostor", url: "https://html5.gamedistribution.com/9abe6af0fbb440b98a3e24bf7fb0636a/?gd_sdk_referrer_url=https://kevin.games/always-impostor" },
      { name: "Infinite Tutoring Proxy", url: "https://infinitetutoring.com.au/history/src/browser/" },
      { name: "2D kinda space shooting game", url: "https://html.cafe/x704e8436" },
      { name: "WebMC (Eaglercraft Launcher)", url: "https://webmc.xyz/" },
      { name: "Vex 3", url: "https://dfs3rzq44v6as.cloudfront.net/#/lessons/85266bc0-927a-4c24-b7b2-4dd34a0c1c6a" },
      { name: "Vex 4", url: "https://dfs3rzq44v6as.cloudfront.net/#/lessons/0f85cdc3-db02-4e24-8103-5190d86e63dc" },
      { name: "Vex 5", url: "https://dfs3rzq44v6as.cloudfront.net/#/lessons/7ce8df8b-a3f3-4887-bb7a-0c0b1f312bfb" },
      { name: "Vex 6", url: "https://dfs3rzq44v6as.cloudfront.net/#/lessons/7ec8754e-65c7-45bf-90f3-b342c4e33cc4" },
      { name: "Vex 7", url: "https://dfs3rzq44v6as.cloudfront.net/#/lessons/a7abe0b4-e894-4799-89e8-b9806e7e33f6" },
      { name: "Geometry dash ( Real )", url: "https://nowgg.lol/apps/robtop-games/1400/geometry-dash.html" },
      { name: "Stumble guys ( Server 1 )", url: "https://www.stumbleguys.com/play" },
      { name: "Stumble guys ( server 2 )", url: "https://nowgg.lol/apps/kitika-games/7999/stumble-guys.html" },
      { name: "Cookie Clicker 2024 Method 2", url: "https://cookieclickerunblocked.github.io/games/cookie-clicker/index.html" },
      { name: "Sandspiel Ripoff (Sandsaga)", url: "https://sandsaga.com" },
      { name: "BitLife (Server 2)", url: "https://geometryspot.help/bitlife/1.html" },
      { name: "GlacierOS", url: "https://learn.englishrealm.ca/" },
      { name: "Rocket Bot Royale", url: "https://rocketbotroyale2.winterpixel.io" },
      { name: "Retro Bowl", url: "https://ethonion10.neocities.org/" },
      { name: "Windows 10 Emulator", url: "https://dustinbrett.com/" },
      { name: "AaronOS", url: "https://aaronos.dev/" },
      { name: "Windows 96", url: "https://windows96.net/" },
      { name: "test", url: "" },
    

      

        ];
        var container = document.createElement("div");
        container.setAttribute("id", "gamesContainer");
        document.body.appendChild(container);

        var lowestButtonPosition = 0; // Initialize with 0

        games.forEach(function(game) {
            var button = document.createElement("button");
            button.textContent = game.name;
            button.className = "button";
            button.onclick = function() {
                // Hide all buttons
                document.querySelectorAll('.button').forEach(function(element) {
                    element.style.display = "none";
                });

                document.getElementById("gamesContainer").innerHTML = '<object id="' + game.name.replace(/ /g, "") + 'Frame" type="text/html" data="' + game.url + '" style="width: 100%; height: 100vh;"></object>';
            };
            container.appendChild(button);

            // Update lowestButtonPosition
            var buttonPosition = button.offsetTop + button.offsetHeight;
            if (buttonPosition > lowestButtonPosition) {
                lowestButtonPosition = buttonPosition;
            }
        });

        // Add "Request a game" button
        var requestButton = document.createElement("button");
        requestButton.textContent = "Request a game/Report A Bug";
        requestButton.className = "button";
        requestButton.style.position = "absolute";
        requestButton.style.top = (lowestButtonPosition + 90) + "px"; // Position 90px below the lowest button
        requestButton.style.left = "50%";
        requestButton.style.transform = "translateX(-50%)";
        requestButton.onclick = function() {
            document.body.innerHTML = '<object id="requestGameForm" type="text/html" data="https://docs.google.com/forms/d/e/1FAIpQLSf9ckFU6kt7Qr6Lml1k1sY9LmYJF4JhdVya68ojbyOHeskYvA/viewform?embedded=true" style="width: 100%; height: 100vh;"></object>';
        };
        document.body.appendChild(requestButton);

    }, 1000);
};

document.getElementById("launchApps").onclick = function() {
    document.body.innerHTML = "";
    setTimeout(function() {
        var apps = [
            { name: "Youtube ( no restrictions :D )", url: "https://www.edu-apps.org/lti_public_resources#/youtube/search" },
            { name: "YT Alt", url: "https://piped.video" },
            { name: "ChatGPT", url: "https://dfs3rzq44v6as.cloudfront.net/apps/27ca35c4-2604-4054-b790-b9436b00d06b/?usr-img=../../assets/img/user.webp" },
            { name: "DeepAI", url: "https://deepai.org/" },
            { name: "HTML Website Extractor", url: "https://codebeautify.org/source-code-viewer" },
            { name: "Virtual Machine 3 mins", url: "https://www.browserling.com/virtual-browser" },
            { name: "Gauth Math Helper", url: "https://gauthmath.com" },
            { name: "ChatGPT With Sources (signup needed)", url: "https://popai.pro/" },
            { name: "Calculator", url: "https://desmos.com/scientific" },
            { name: "AI Images", url: "https://nuelink.com/tools/ai-image-generator" },
            { name: "Global Image URL Generator", url: "https://html.cafe/x2a36ad24"},
            { name: "ChatGPT Alt", url: "https://talkai.info/" },
            { name: "YT to mp3", url: "https://ezmp3.cc" },
            { name: "Screen Recorder", url: "https://html.cafe/xf7a71dd8" },
            { name: "Image URL Generator 2", url: "https://www.imghippo.com/" },
            { name: "JMW AI Chat", url: "https://infinitetutoring.com.au/history/src/AI" },
            { name: "Notepad in JS", url: "https://notepad.js.org/index.html" },
            { name: "Proxy Link Creator", url: "https://censordodge.com" },
            { name: "Bypass Ad Links", url: "https://bypass.city" },
            { name: "YT to MP3", url: "https://cobalt.tools" },
            { name: "Download Message Encoder/Decoder", url: "https://static.onecompiler.com/images/questions/42z3pt83t/MessageEncoderDecoder.html" },
            { name: "EmulatorJS", url: "https://demo.emulatorjs.org/" },
            { name: "Totally works :333", url: "https://artclass.site/" },
            { name: "Ruffle ( flash games emulator )", action: function() {
                document.body.innerHTML = '<object id="ruffleFrame" type="text/html" data="https://ruffle.rs/demo/" style="width: 100%; height: 100vh;"></object>';
            }}
        ];

        var container = document.createElement("div");
        container.setAttribute("id", "appsContainer");
        document.body.appendChild(container);

        apps.forEach(function(app) {
            var button = document.createElement("button");
            button.textContent = app.name;
            button.className = "button";
            button.onclick = function() {
                if (app.url) {
                    document.body.innerHTML = '';
                    var messageText = document.createElement("p");
                    messageText.textContent = app.message;
                    messageText.style.color = "#fff";
                    messageText.style.marginTop = "20px";
                    document.body.appendChild(messageText);
                    document.body.innerHTML = '<object id="appsFrame" type="text/html" data="' + app.url + '" style="width: 100%; height: 100vh;"></object>';
                } else if (app.action) {
                    app.action();
                }
            };
            container.appendChild(button);
        });
    }, 1000);
};
// main menu button functions go here! :D
    document.getElementById("openInAboutBlank").onclick = function() {
      var newTab = window.open('about:blank', '_blank');
      newTab.document.open();
      newTab.document.write(document.documentElement.outerHTML);  // Embed the current HTML content
      newTab.document.close();
    };

    document.getElementById("continueButton").onclick = function() {
      document.querySelectorAll('.button, h1, #randomPhrase, #instructions').forEach(function(element) {
        element.classList.add('hidden');
      });
      document.body.innerHTML = '<object id="unblockerFrame" type="text/html" data="https://bing.com/" style="width: 100%; height: 100vh;"></object>';
    };

  document.getElementById("ruffleButton").onclick = function() {
    document.body.innerHTML = '<object id="ruffleFrame" type="text/html" data="https://ruffle.rs/demo/" style="width: 100%; height: 100vh;"></object>';
  };

document.getElementById("launchBrowser").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="https://html.cafe/x2dcf2854" style="width: 100%; height: 100vh;"></object>';
};
document.getElementById("lanschool").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="https://html.cafe/x88b1c570" style="width: 100%; height: 100vh;"></object>';
};

document.getElementById("launchBrowsertwo").onclick = function() {
  document.body.innerHTML = '<object id="BrowsertwoFrame" type="text/html" data="https://html.cafe/xcd10bad0" style="width: 100%; height: 100vh;"></object>';
};

document.getElementById("launchUltraviolet").onclick = function() {
  document.body.innerHTML = '<object id="UltravioletFrame" type="text/html" data="https://dfs3rzq44v6as.cloudfront.net/#/prxy" style="width: 100%; height: 100vh;"></object>';
};

document.getElementById("downloads").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="https://html.cafe/xfafb7281" style="width: 100%; height: 100vh;"></object>';
};
document.getElementById("exploits").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="https://html.cafe/x00c791ce" style="width: 100%; height: 100vh;"></object>';
};
document.getElementById("newestver").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="" style="width: 100%; height: 100vh;"></object>';
};
document.getElementById("changelog").onclick = function() {
  document.body.innerHTML = '<object id="changelogFrame" type="text/html" data="https://html.cafe/x0ccfcfe7" style="width: 100%; height: 100vh;"></object>';
};
    document.getElementById("links").onclick = function() {
  document.body.innerHTML = '<object id="linksFrame" type="text/html" data="https://html.cafe/x1a39d9e5" style="width: 100%; height: 100vh;"></object>';
};
document.getElementById("makeapr0xy").onclick = function() {
  document.body.innerHTML = '<object id="browserFrame" type="text/html" data="https://html.cafe/x7836dbf6" style="width: 100%; height: 100vh;"></object>';
};

document.getElementById("chat").onclick = function() {
  document.body.innerHTML = '<object id="chatFrame" type="text/html" data="https://html.cafe/x1b3f9111" style="width: 100%; height: 100vh;"></object>';
};

    </script>
</body>

</html>
</body>

</html>