Generic ID tag for HTML
Hi guys, i am writing a program on auto filling of credential on UIWebView. i noticed that different website uses different ID tags to label their text field for both Username and password i.e. UID, PIN and sometimes username is email instead.
how should i write a code that will work on all the websites and recognize the correct username and login field?
i was thinking of listing out the possible IDs but i think the list is exhaustive and it is impossible for me to list all of them down. Is there a better solution?
|