Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Is there the codegurus of Netscape?

Is there the codegurus of Netscape?

Scheduled Pinned Locked Moved The Lounge
javascriptcomhelpquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Masaaki Onishi
    wrote on last edited by
    #1

    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-

    N 1 Reply Last reply
    0
    • M 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-

      N Offline
      N Offline
      Nikhil Dabas
      wrote on last edited by
      #2

      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

      J 1 Reply Last reply
      0
      • N Nikhil Dabas

        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

        J Offline
        J Offline
        Jon Sagara
        wrote on last edited by
        #3

        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

        D 1 Reply Last reply
        0
        • J Jon Sagara

          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

          D Offline
          D Offline
          David Cunningham
          wrote on last edited by
          #4

          I love it. I'm going to send that to a friend at AOL right now. :) David http://www.dundas.com

          M 1 Reply Last reply
          0
          • D David Cunningham

            I love it. I'm going to send that to a friend at AOL right now. :) David http://www.dundas.com

            M Offline
            M Offline
            Masaaki Onishi
            wrote on last edited by
            #5

            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-

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups