twofas / 2fas-browser-extension

Source code for 2FAS Browser Extension
https://2fas.com/browser-extension
GNU General Public License v3.0
266 stars 36 forks source link

feat: Automaticly request the token from the phone for approved sites #85

Open air2 opened 3 months ago

air2 commented 3 months ago

Feature description

For some sites I always want 2FAS to request the token from my phone. This site uses the autocomplete="one-time-code" on the input for the token. So it is following the standers so to speak. For those sites it should be easy for the extension to recognize the correct input field and automatically send the authorization request to my phone.

Motivation

For some sites I use a lot, I have every-time have to right click on the input box and choose "Send a request to 2FAS" from the dropdown menu. It would be just a time saver.

Acknowledgements

GrzegorzZajac000 commented 3 months ago

Thank you, @air2, for this suggestion. Interesting idea. We will discuss it with team in near feature.