Search code examples
javascriptjqueryeventschromium-embeddedcefglue

CefGlue detect evenfint listeners with CefDomVisitor


If I use CEFGlue CefDomVisitor class I can navigate around the DOM. Great, really useful and good job by the developers

Is there any way to pick up what event listeners are associated with a Tag?

Essentially id like to pick up the javascript that 'would' run when the element is clicked (for example). I think I can achieve this by finding out what is listening to the elements event. Then I want to run it independently of the event.

Hope this makes sense, and any help feedback or comment very much appreciated

Thanks


Solution

  • If you are trying to get information about the DOM and the elements that have events jQuery can help you with that. But I am not sure what you are asking.

    This isn't exactly what you would be looking for but: $._data( $("#foo")[0], "events" ); from event info from jQuery