From 5134311e3a4941195697ef1496be62ddcae72d83 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Fri, 5 Jun 2026 08:25:42 +0200 Subject: [PATCH] remove large file limit, prevent double install --- content.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content.js b/content.js index 9682ffb..0da02b8 100644 --- a/content.js +++ b/content.js @@ -306,7 +306,6 @@ function rip(event) { const files = applicant.application_files ?? [] files.forEach((afile) => { - if (afile.blob.size > 2_000_000) return; const ext = afile.file_name.split(".").slice(-1) const filename = `${afile.field_name}.${ext}` // const filename = sanitizeZipPathSegment(afile.file_name) @@ -339,6 +338,10 @@ function install() { const titleTag = document.querySelector("scrm-module-title") if (titleTag != null) { + if (titleTag.querySelector(".ripper-btn") != null) { + return + } + const a = document.createElement("button") a.textContent = "rip" a.classList.add("ripper-btn")