ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Roll Your Own Browser
Subject:   Starting up with specified chrome - the answer
Date:   2002-09-25 04:39:20
From:   anonymous2
Found it.


var cmdLineService = Components.classes["@mozilla.org/appshell/commandLineService;1" ].getService( Components.interfaces.nsICmdLineService );
var url = cmdLineService.getCmdLineValue("-url");