[Project_owners] How to find and strip TLDs' from URIs'

HJ bugus at universum.org
Tue Oct 26 23:36:10 EDT 2004


Neil wrote:
> Pete Collins wrote:
> 
>> js> uri = uri.path.replace(/\//g, "");
>> www.mozdev.org
> 
> Why not uri.host?

Because that fails for file:///x:/ ?

/HJ


More information about the Project_owners mailing list