On 6/24/15 1:10 PM, Yonggang Luo wrote:
> For example.
> custom-protocol://some-uri-path/test.html
> 
> I want the test.html works like
> 
> http://some-web-site/test.html
> That I can navigate in the html page.
> 
Check out nsIProtocolHandler

Here is an implementation that directly forwards to http(s):

http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js

Philipp
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to