<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">thanks for the quick reply. it was my hope to piggy-back on a large installed base of users but from your reply it sounds like that won’t be feasible, in which case I may have to roll out my own browser. I’m ok to do that though it comes with the overhead of having to manage 5 OSs (3 desktop, 2 mobile)<div class=""><br class=""></div><div class="">I can work on either c++ or javascript but Js would be preferred as some of the libraries I’ll be using are more mature on that platform<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">29 jan. 2020 kl. 00:12 skrev Dave Townsend <<a href="mailto:dtownsend@mozilla.com" class="">dtownsend@mozilla.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The first question should be to ask how you intend to have users use this.<div class=""><br class=""></div><div class="">If you’re are thinking of doing this in an extension that anyone can install and use then your choices are very limited. Changing a request for your protocol to a https request based on a template is basically all you can do, see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/protocol_handlers" class="">https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/protocol_handlers</a>.</div><div class=""><br class=""></div><div class="">If however you are going to distribute a custom build of Firefox then you have more options and you can create an XPCOM component to do almost anything you want when your protocol is requested. There are probably some examples we can point you to, would you be working in C++ or JavaScript?<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 29, 2020, at 8:20 AM, Erick Calder <<a href="mailto:e@arix.com" class="">e@arix.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">greetings everyone. I’m new to the Mozilla technology and am interested in developing a protocol handler. if I’m writing on the wrong mailing list please point me to the correct one.<div class=""><br class=""></div><div class="">I have come across this document: <a href="http://www.nexgenmedia.net/docs/protocol/" class="">http://www.nexgenmedia.net/docs/protocol/</a> - which seems a bit dated and not official for how to create a protocol handler in Firefox. if valid, the document does not show how to produce actual HTML in the response, which is what I would like to accomplish</div><div class=""><br class=""></div><div class="">I would like a little guidance as for what documentation I should be reading. what I intend to accomplish is to allow the user to enter "<a href="myprotocol://something" class="">myProtocol://something</a>” into the address/url field and for my handler to generate a web page. I am hoping that by implementing the handler any calls for other objects withing the HTML will also be resolved e.g. if the HTML I produce contains the tag ”<IMG src='<a href="myprotocol://something" class="">MyProtocol://something</a>’>” then the browser will initiate a request for this resource that ALSO gets handled by my implementation</div><div class=""><br class=""></div><div class="">I look forward to a response</div><div class=""><br class=""></div><div class="">ekkis</div><div class=""><br class=""></div><div class=""><br class=""></div></div>_______________________________________________<br class="">firefox-dev mailing list<br class=""><a href="mailto:firefox-dev@mozilla.org" class="">firefox-dev@mozilla.org</a><br class=""><a href="https://mail.mozilla.org/listinfo/firefox-dev" class="">https://mail.mozilla.org/listinfo/firefox-dev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">firefox-dev mailing list<br class=""><a href="mailto:firefox-dev@mozilla.org" class="">firefox-dev@mozilla.org</a><br class="">https://mail.mozilla.org/listinfo/firefox-dev<br class=""></div></blockquote></div><br class=""></div></body></html>