javit89

  • a day ago
  • Joined 18 Feb
  • 2 discussions
  • 10 posts
  • 0 best answers
  • 5 points
  • I just wanted to shoutout to @janpeeters and @Vlad because this seeing conversation and being added as Planned so quick told me I made the right decision subscribing to both Orion+ and Kagi, and I'm gonna begin evangelizing the heck of out this ecosystem and team to everyone.

  • Vlad typically html forms have a name attribute, like "email", "first name", "address1" etc, that are pretty standard.

    You can use either Field Attributes & Name Detection
    Modern web forms use standard name attributes, such as:
    name="email"
    name="address"
    name="firstName"
    Your browser can map these to stored user data.

    1. Detect Input Type & Label Associations
      Many websites follow semantic form designs:
      <input type="email"> → Autofill with the stored email.
      <input type="tel"> → Autofill with the stored phone number.
      Use <label for="id"> associations to infer the field purpose.
    2. Or you can leverage the new autocomplete feature of html5:
      <input type="text" name="street-address" autocomplete="address-line1">
      <input type="text" name="city" autocomplete="address-level2">
      Your autofill system should recognize these standard values and save them in some type of safe browser storage.