When true, protocol HREF will be intercepted and OnProtocolLink(HREF) event will be fired.
When true, protocol HREF will be intercepted and OnProtocolLink(HREF) event will be fired.
Visual Basic |
---|
Public Property fire_protocol_event As Boolean |
The following protocols are supported:
cid:, cvs:, facetime:, fax:, fish:, fm:, git:, gopher:, gtalk:, h323:, im:, imap:, irc:, irc6:, ircs:, itms:, keyparc:, ldap:, mailto:, maps:, market:, message:, mms:, mvn:, news:, notes:, pop:, proxy:, sftp:, sgn:, sip:, sips:, skype:, sms:, snmp:, spotify:, ssh:, steam:, svn:, svn+ssh:, tag:, tel:, telnet:, udp:, unreal:, urn:, webcal:, wtai:, xmpp:, xri:
Private Sub WebKitX1_OnCreate(ByVal Settings As WebKitXCEF3Lib.ISettings, CommandLineSwitches As String) Settings.fire_protocol_event = True End Sub Private Sub WebKitX1_OnProtocolLink(ByVal Href As String) MsgBox Href, vbInformation, "Protocol" End Sub