Ok, this works on `Mozilla' (codename `SeaMonkey'). It doesn't work on `FireFox', because it doesn't contains "@mozilla.org/profile/manager;1".getProfileDefaultsLocDir : function () { return this.getPath(NS_APP_PROFILE_DEFAULTS_50_DIR); }, getProfileDefaultsDir : function () { return this.getPath(NS_APP_PROFILE_DEFAULTS_NLOC_50_DIR); },I just added it to jsLib ver 0.1.267 jslib.init(this); include (jslib_profile); var p = new Profile; alert(p.currentProfile);
Lev Serebryakov Programmer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
