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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to Save and Use Login Credentials on Login Pages

Post Reply
tad.chen
Posts: 119
Joined: Fri Jan 04, 2019 1:39 am

How to Save and Use Login Credentials on Login Pages

Post by tad.chen »

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.
User avatar
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

Post by salvadordf »

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.
tad.chen
Posts: 119
Joined: Fri Jan 04, 2019 1:39 am

Re: How to Save and Use Login Credentials on Login Pages

Post by tad.chen »

Thank you for your information.
Post Reply