R
R
renat052021-07-05 19:53:03
JavaScript
renat05, 2021-07-05 19:53:03

How to customize windows?

Hello. How to make it so that when a user logs in, if he enters gmail, then a window appears for entering a password for gmail, or if he enters yahoo, a yahoo window appears?
We need to display the corresponding window
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-07-05
@jenya92

It is enough to get the contents of the field and, through a regular expression, get the string after the @ symbol. But it is worth noting that not a single person in their right mind will enter a mail password on the left site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question