Skip to content

[Enhancement Request] Using Regex for autofill form ids #30

@anthonyfabius

Description

@anthonyfabius

Describe the Enhancement

Right now we are doing search on the dom for an exact id but we should switch over to a regular expression statement to apply the autofill to cases where there are slight differences from site to site. For example we don't want to check for an id called "First-name" and another called "firstName". Rather then manually try and come up with every permutation of words form ids can be using we can use regex to create a general case that can be applied to cover a large range of spellings/formats of id names.

Describe the current behavior

We just check for an exact id match which means latter on we would need to come up with multiple spellings and formats of the same id name... which is bad.

Describe alternatives to your enhancement

We use ai to determine what to input into the form. This should be a backup case for fields we aren't able to initially inject onto as injection will always be faster than having ai determine what to enter.

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhance existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions