I'm using an embedded instance Gecko for some of my application UI and sometimes want to do things in C++ land when an HTML link is clicked.

I can catch the click via observers and the HandleEvent() method and get the relevant attributes from the anchor tag but after doing so I want to stop the navigation to the page.

I could do it by using my own attribute and an empty HREF but I'd like the same page to work in the app and a web browser (where the link goes off to a page that indirectly handles everything).

Everything I've tried hasn't worked - any suggestions?

-Cal
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to