@Edent On single input 2fa, you may use autocomplete="one-time-code" to get value from SMS, mail or any notification.

Support is unequal I think (both OSes and browsers), but better than nothing.