Is there the codegurus of Netscape?
-
Hello, the codegurus around the world.;) Currently, I'm working to set the user profile by modifying prefs.js file of Netscape 6.x. However, prefs.js exists at many locations if the user upgrade from Netscape 4.x to Netspcae 6.x. Furthermore, if the user creates his or her own prefs.js, to find only one prefs.js is almost impossible. :(( When I read the newsgroup of profile section of Netscape home page, several ppls have the same problem.:omg: After I downloaded the latest Netscape source code, I didn't understand the profile project of the source code of Netscape 6.x yet.:(( In fact, Netscape created its own COM interface. Anyway, I try to find all prefs.js and compares "timebomb.first_launch_time", and find another flag to determine which prefs.js the user selects. X| Have a nice day!
-Masaaki Onishi-
-
Hello, the codegurus around the world.;) Currently, I'm working to set the user profile by modifying prefs.js file of Netscape 6.x. However, prefs.js exists at many locations if the user upgrade from Netscape 4.x to Netspcae 6.x. Furthermore, if the user creates his or her own prefs.js, to find only one prefs.js is almost impossible. :(( When I read the newsgroup of profile section of Netscape home page, several ppls have the same problem.:omg: After I downloaded the latest Netscape source code, I didn't understand the profile project of the source code of Netscape 6.x yet.:(( In fact, Netscape created its own COM interface. Anyway, I try to find all prefs.js and compares "timebomb.first_launch_time", and find another flag to determine which prefs.js the user selects. X| Have a nice day!
-Masaaki Onishi-
What on god's green earth is Netscape? I take it, from the tone of the post, that it is in fact not some super weapon but nonetheless equally horrid? ;P (excerpted without permission from Paul Watson's eloquent words) Maybe you should have used the forums? A list is only as strong as its weakest link. - Don Knuth
-
What on god's green earth is Netscape? I take it, from the tone of the post, that it is in fact not some super weapon but nonetheless equally horrid? ;P (excerpted without permission from Paul Watson's eloquent words) Maybe you should have used the forums? A list is only as strong as its weakest link. - Don Knuth
I wonder when AOL Time Warner will start calling it .NETscape Jon Sagara "After all is said and done, usually more is said than done." -- Unknown
-
I wonder when AOL Time Warner will start calling it .NETscape Jon Sagara "After all is said and done, usually more is said than done." -- Unknown
I love it. I'm going to send that to a friend at AOL right now. :) David http://www.dundas.com
-
I love it. I'm going to send that to a friend at AOL right now. :) David http://www.dundas.com
Hello, the codegurus around the world. ;) This is a part of the code of Netscpae in nsProfile.cpp in profile project. XP_MAC, XP_UNIX, XP_OS2 and XP_PC seems to be interesting to me. :-D
#include "nscore.h"
#include "nsProfile.h"
#include "nsIPref.h"#include "pratom.h"
#include "prmem.h"
#include "plstr.h"
#include "prenv.h"#include "nsIFactory.h"
#include "nsIComponentManager.h"
#include "nsIEnumerator.h"
#include "nsXPIDLString.h"
#include "nsIFileSpec.h"
#include "nsEscape.h"
#include "nsIURL.h"#include "nsIAppShellService.h"
#include "nsAppShellCIDs.h"
#include "prprf.h"#include "nsIIOService.h"
#include "nsNetUtil.h"
#include "nsPrefMigration.h"
#include "nsIPrefMigration.h"
#include "nsPrefMigrationCIDs.h"
#include "nsFileStream.h"
#include "nsSpecialSystemDirectory.h"
#include "nsIPromptService.h"
#include "nsIStreamListener.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "nsIBookmarksService.h"
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsICookieService.h"
#include "nsICategoryManager.h"
#include "nsISupportsPrimitives.h"
#include "nsIDirectoryService.h"
#include "nsDirectoryServiceDefs.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsIChromeRegistry.h" // chromeReg
#include "nsIStringBundle.h"
#include "nsIObserverService.h"
#include "nsISupportsPrimitives.h"
#include "nsHashtable.h"// Interfaces Needed
#include "nsIDocShell.h"
#include "nsIWebBrowserChrome.h"#include "nsIScriptGlobalObject.h"
#include "nsIScriptContext.h"
#include "nsIBaseWindow.h"
#include "nsIDialogParamBlock.h"
#include "nsIDOMWindowInternal.h"
#include "nsIWindowMediator.h"
#include "nsIWindowWatcher.h"#if defined (XP_UNIX)
#elif defined (XP_MAC)
#define OLD_REGISTRY_FILE_NAME "Netscape Registry"
#elif defined (XP_BEOS)
#else /* assume XP_PC */
#ifndef XP_OS2
#include #endif
#define OLD_REGISTRY_FILE_NAME "nsreg.dat"
#endif /* XP_UNIX */Have a nice day!
-Masaaki Onishi-