"ftr" <
publi...@free.fr> wrote
| Looking to the Help pages (
|
https://support.mozilla.org/en-US/questions/999860 ) I found that the
| user.js file might be corrupted.
|
| I opened it with the Windows Script Host and it says:
| Script:
| C:\users\.. \AppData\Roaming\Mozilla\Firefox\Profiles\...\prefs.js
| Line: 1
| Character: 1
| Error: Wrong character
| code: 800A03F6
| source: compilation error Microsoft JScript
|
You're way out in left field here. First, you're
talking about user.js but opened prefs.js. The
former is an optional file meant to be used if one
wants to edit prefs.js. Prefs.js gets editied through
about:config. User.js, if present, is parsed after
prefs.js. It can contain any additional settings
you want to use.
Second, neither file is javascript. (Why they're
named .js is a mystery.) Each line has faux-script
syntax, but it has nothing to do with javascript. It
could just as easily be an INI file, which is how it
functions. Apparently the Netscape people who came
up with it just liked to use javascript syntax because
it's "webby".
By running it as a .js file you asked WSH to parse it
as script. The first line is this:
# Mozilla User Preferences
First character in line 1 is #. That's not a comment
character in javascript. In other words, you might just
as well have renamed system.ini to system.js, then
double-clicked it. WSH is a script interpreter. It sees
a .js file as javascript to be interpreted and run, but
can't make sense of prefs.js (or system.ini) because
it's not javascript.
| Can I simply delete the prefs.js file ? Does it recreate itself with the
| next start ? Or should I delete the entire profile ? But if I do the
| latter how to transfer the saved login/password informations ?
|
You're striking blind. You can delete prefs.js.
You can delete the whole thing. You can reinstall
and not save personal files when you uninstall.
But you will have to save all of your settings
and re-enter them later, if you've customized
anything. The typical route is the opposite: to
back up user.js and prefs.js so that you don't
have to go through all those settings again if you
lose your system. There's no reason to assume
that your prefs settings are causing slow startup.