Answer the question
In order to leave comments, you need to log in
How to make the sms code be detected by the browser?
There are 4 inputs of this kind
I want the SMS that comes automatically to be determined as here.
What do you need? name tags?
Answer the question
In order to leave comments, you need to log in
<input
type="text"
name="token"
inputmode="numeric"
pattern="[0-9]"
autocomplete="one-time-code"
/>
This is impossible, the browser does not have access to SMS and can NOT even request such permission, it does not have such a right. Otherwise, scammers on phishing sites would rip off all the loot from the cards without asking.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question