Olivier Danes wrote:
I use the GTK wrapper to embed Gecko. It implements a content listener. I'd like to use it to control what can or cannot be loaded (tell me if a better solution exists).

See nsIContentPolicy. It's not frozen, but it's reasonably stable, in Gecko 1.8 and later, I think.

But when I test it, on the google main page, OnStartURIOpen() is not called for the logo. I've also try with a simple page linked to a css, the OnStartURIOpen() is also not called... When I test it on a simple page with a framset, OnStartURIOpen() is called for each frame.

OnStartURIOpen is called for document loads only, basically. Frames have documents, so they get it called.

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

Reply via email to