I've got some source in my cvs repository you may want to check out (c++ though)
http://www.mozdev.org/source/browse/xulnativetoolkit/src/nsNativeBoxProtocolHandler.cpp?rev=1.1&content-type=text/x-cvsweb-markup also, note you have to register your ProtocolHandler with the right contractId: { "Native Box Custom Protocol Handler", NS_NATIVEBOXPROTOCOLHANDLER_CID, NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX NS_NATIVEBOXPROTOCOLHANDLER_SCHEME, nsNativeBoxProtocolHandlerConstructor }, On 2/2/06, Adam Judson <[EMAIL PROTECTED]> wrote: > Not sure if I'm using the right terminology here, but has anyone > created a new protocol > handler? > > Basically I want to be able to add a link to a web page in the form: > photomap://51.00x-1.35 and have it call my extension passing the right > hand side. > > Pointers to example code would be appreciated. > > Thanks > Adam > > - the new extension (http://photomap.mozdev.org) is ready for beta > testing, it might > be worth a look (google maps, flickr, ajax etc.) > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
