Skip to content

Developer unlock via in-page modal (works in installed iOS app) - #9

Merged
CarlosA49 merged 1 commit into
mainfrom
claude/ai-humanizer-tool-DPX66
May 17, 2026
Merged

Developer unlock via in-page modal (works in installed iOS app)#9
CarlosA49 merged 1 commit into
mainfrom
claude/ai-humanizer-tool-DPX66

Conversation

@CarlosA49

Copy link
Copy Markdown
Owner

Summary

Makes the developer no-limit mode work in the installed iOS app version (Add to Home Screen / standalone PWA), where native prompt()/alert() are blocked.

  • Dev unlock now uses an in-page modal (#devModal) like the other panels: password field + Unlock, inline error message, and an "ON" state with a Turn-off button
  • All triggers open the same modal: 7-tap on the title, #dev URL, __dev() console, and the Owner tools → Developer toggle
  • No reliance on native dialogs anywhere in the dev flow → works in Safari, desktop, and the installed iOS/iPadOS app
  • Owner-panel toggle label stays in sync via setDevMode; devModal added to outside-click close handling; sw cache → v6

Test plan

  • Add site to Home Screen on iPhone/iPad, open the installed app
  • 7-tap the "AI Humanizer" title → modal appears (not a dead tap)
  • Correct password → "Developer mode ON" state; limit bypassed
  • Wrong password → inline "Incorrect password"
  • Turn off from modal or banner → limit returns
  • Same flow works in normal mobile Safari and desktop
  • Python tests still pass

https://claude.ai/code/session_015REKyF6JmJchTnZWoLth7Y


Generated by Claude Code

iOS standalone (Add to Home Screen) blocks native prompt/alert, so
the dev unlock now uses a DOM modal like the other panels: password
field + Unlock, plus an ON state with Turn-off. Triggers (7-tap
title, #dev, __dev, Owner toggle) all open the modal. sw cache -> v6.

https://claude.ai/code/session_015REKyF6JmJchTnZWoLth7Y
@CarlosA49
CarlosA49 merged commit 801b003 into main May 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants