mobileFX WebKitX CEF3 ActiveX 4.x
WebKitXCEF3Lib ActiveX Control / Settings Object / fire_protocol_event Property
In This Topic
    fire_protocol_event Property
    In This Topic

    When true, protocol HREF will be intercepted and OnProtocolLink(HREF) event will be fired.

    Property type
    Read-write property
    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
    See Also