Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/billing.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,18 @@
devHash();
window.addEventListener("hashchange", devHash);
window.__dev = tryDevUnlock;
// iOS-friendly hidden trigger: tap the "AI Humanizer" title 7 times
// within ~1.2s between taps (no console / URL typing needed).
var tapEl = document.querySelector("header h1");
if (tapEl) {
var taps = 0, last = 0;
tapEl.addEventListener("click", function () {
var now = Date.now();
taps = now - last < 1200 ? taps + 1 : 1;
last = now;
if (taps >= 7) { taps = 0; tryDevUnlock(); }
});
}
}
if (document.readyState === "loading")
document.addEventListener("DOMContentLoaded", init);
Expand Down
2 changes: 1 addition & 1 deletion docs/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cache-first with network fallback for everything else (incl. the
Pyodide runtime from the CDN, cached opportunistically on first use). */

const CACHE = "humanizer-v4";
const CACHE = "humanizer-v5";
const SHELL = [
"./",
"./index.html",
Expand Down
Loading