Skip to content

Add non-ambiguous characters checkbox to password generator#6

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-checkbox-non-ambiguous-characters
Open

Add non-ambiguous characters checkbox to password generator#6
Copilot wants to merge 2 commits intomainfrom
copilot/add-checkbox-non-ambiguous-characters

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

Adds a "Non-ambiguous characters" option to the standard password mode that excludes visually similar characters (0, O, o, 1, l, I) from the generated password.

Changes

  • index.html: New checkbox under Symbols in the Characters section
  • script.js:
    • ambiguousChars = "0Oo1lI" — defines the excluded set
    • filterAmbiguous() helper inside generatePassword filters any character pool when params.nonAmbiguous is true
    • Applied to all character sets (lowercase, uppercase, digits, symbols)
    • nonAmbiguous: false added to default params; checkbox wired up with event listener
Original prompt

This section details on the original issue you should resolve

<issue_title>Add checkbox for non-ambiguous characters</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: neriyaco <42520786+neriyaco@users.noreply.github.com>
Copilot AI changed the title [WIP] Add checkbox for non-ambiguous characters Add non-ambiguous characters checkbox to password generator Feb 26, 2026
@binyamin555 binyamin555 marked this pull request as ready for review February 26, 2026 18:14
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.

Add checkbox for non-ambiguous characters

2 participants