- changed status to closed
Get URI in CreateWindow event
Issue #29
closed
Is there any way to get the URI in the CreateWindow
event?
I noticed that CreateChromeWindow2
's signature is different than older versions and doesn't accept a nsIURI
parameter.
Comments (2)
-
repo owner -
reporter I've patched the
OnBeforeLinkTraversal
method inWebView.WebBrowser.Glue.cs
file which at least can detect the_blank
target and get theUri
and chained it to a new event inWebView
, while I.Cancel()
every request inCreateWindow
event. I won't create a PR since it is just a way around the issue but it works just fine. If you won't plan to upgrade to a newer version soon and this feature is required by anyone else let me know and I will be glad to share it. - Log in to comment
This feature is not supported in the current version.