Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
2015-06-25 7:26 GMT+08:00 Nicholas Alexander : > > > On Wed, Jun 24, 2015 at 5:53 AM, Yonggang Luo wrote: >> >> 在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道: >> > On 6/24/15 1:10 PM, Yonggang Luo wrote: >> > > For example. >> > > custom-protocol://some-uri-path/test.html >> > > >> > > I want t

Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Nicholas Alexander
On Wed, Jun 24, 2015 at 5:53 AM, Yonggang Luo wrote: > 在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道: > > 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

Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道: > 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 nsIP

Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Philipp Kewisch
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 ht

How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
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. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/