Input attribute for one-time code | Geoff Graham

Just a neat tip: the autocomplete="one-time-code" attribute/value allows an HTML form to fetch a code used for two-factor authentication directly from the messaging app. Seems to only work for numeric or password input elements, but that should cater to most 2FA use cases. Neat

Explore Other Notes

Newer

@property

Looks like CSS is getting extensibility built-in with a new @property element (works like @media – also looks like we're getting CSS.registerProperty() in JavaScript …

  • <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>Just a neat tip: the autocomplete="one-time-code" attribute/value allows an HTML form to fetch a code used for two-factor authentication directly from the messaging app. Seems to only work for …</p> </body> </html>
  • Murray Adcock.
Journal permalink