This commit is contained in:
2025-05-11 18:58:43 +02:00
parent d5a73f342e
commit f3f3045ebf
48 changed files with 686 additions and 243 deletions

24
Bomtoon_JS/get_count.js Normal file
View File

@@ -0,0 +1,24 @@
(() => {
const count = document.querySelectorAll('div[class^="ImageContainer__Container"]').length;
const existing = localStorage.getItem("divCountList") || "";
localStorage.setItem("divCountList", existing + count + "\n");
console.log("✅ Count saved:", count);
})();
(() => {
const data = localStorage.getItem("divCountList") || "";
const blob = new Blob([data], { type: "text/plain" });
const link = document.createElement("a");
link.href = URL.createObjectURL(blob);
link.download = "div_counts.txt";
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
console.log("📦 File downloaded as div_counts.txt");
})();