Hi,
I want to add the function of saving and using Login Credentials on login pages like BriskBard.
But I think it's very difficult for me and has a lot of work. Can you give me some advise of how to realize it? If there are some demo code or open source code, it'll be better.
Thank you in advance.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to Save and Use Login Credentials on Login Pages
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to Save and Use Login Credentials on Login Pages
It's very complicated but the building blocks are already in the demos.
You need to use the GlobalCEFApp.OnFocusedNodeChanged, which is executed in the render process, to check if the focused element is an INPUT element with one of the usual IDs for login forms like "username", "user-name", etc.
Then send a process message to the main browser process to read the login information from an encrypted database and fill the information as shown in the DOMVisitor demo.
You need to use the GlobalCEFApp.OnFocusedNodeChanged, which is executed in the render process, to check if the focused element is an INPUT element with one of the usual IDs for login forms like "username", "user-name", etc.
Then send a process message to the main browser process to read the login information from an encrypted database and fill the information as shown in the DOMVisitor demo.
Re: How to Save and Use Login Credentials on Login Pages
Thank you for your information.