Assessing Page Forms

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Assessing Page Forms

Postby kbarresi » Wed Jan 28, 2015 11:25 am

Hello,

I'm in the process of creating a password manager to handle username/password autocompletion in webpage forms.

So far, I'm using CefLoadHandler to hook into when the browser page has finished loading, at which point I'm going to parse the page for potential username/password forms. I'm a bit stuck on how to go about this though. Would it be best to use javascript to try and detect these forms, traverse the DOM tree, or something else? For either, would anybody have any reference material I could look at to get started on something like this?

My specific issues are 1) Can I get data back from javascript execution? and 2) How would I access the DOM tree if that's the best way to do this?


Thank you!
kbarresi
Newbie
 
Posts: 9
Joined: Mon Dec 29, 2014 12:31 am

Re: Assessing Page Forms

Postby magreenblatt » Wed Jan 28, 2015 1:24 pm

JavaScript is probably the best way. See https://code.google.com/p/chromiumembed ... ntegration for your options.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 81 guests