Silmara
Member
From: Bremen, Germany
Registered: 2008-07-09
Posts: 22
Hello everyone,
I am almost certain that a similar problem has already been discussed somewhere here, but after an hour of looking for the answer I have given up. So please forgive me if this already has been discussed elsewhere.
Anyway if this is the case one could point me into the direction to the thread.
So here is my problem:
I have not reviewed for some time know and all keywords which I have changed half year ago with the Greasemonkey script have changed back to the english original.
In this time firefox has been updated several times.
I already looked in Greasemonkey if the included pages are right and these seem to be the case.
So I would be very happy if anyone has an idea how I can get my keywords back because I would not enjoy retyping 500 keywords 
Many thanks!
Silmara
xaarg
Member
From: Neverland
Registered: 2007-07-13
Posts: 160
Find the directory that contains your Mozilla Firefox profiles (e.g. ~/.mozilla/firefox/ on linux and %APPDATA%\Mozilla\Firefox\Profiles on windows). There should be a prefs.js inside each of the profile dirs (named hfjdfh.default where hfjdh is some random gibberish special to each profile).
There should be a line like this in one of those files, that contains all of your keywords:
user_pref("greasemonkey.scriptvals.http://userscripts.org/scripts/show/7118/Kanji.Koohii: Substitute keywords.Silmara|KeywordList", ...
If you can not find a line like this, then all your keywords are lost and you will need to retype them. If you used the German keywords, then I can send you the proper line containg all German keywords, if you like.
You might also try to make sure that you are using the latest version of Greasemonkey and the latest version of the substition script (get it from http://userscripts.org/scripts/review/7118).
Last edited by xaarg (2009 March 26, 10:09 pm)
woelpad
Member
From: Chiba
Registered: 2006-11-07
Posts: 425
You mean you couldn't find the prefs.js file or you couldn't find the keyword list line inside that file? As for active on one page, not on another, open the Greasemonkey management window, select the script and check the list of pages in the panel on the top right. It should include
(note the * at the end). If it doesn't, add or edit it. If it does, there must be an error in the script. Go to the review page, start a review and then open the error console (under Tools or Extra or Ctrl+Shift+J). Browse to the end and look for a bold faced error message, then report back.
woelpad
Member
From: Chiba
Registered: 2006-11-07
Posts: 425
The prefs.js file is in the same directory as gm_scripts. But I don't think we will need it.
The error message should also display a line number on the far right. Could you give that too? Furthermore, make sure you have only one version of the script (refer to the Greasemonkey Management panel) and that that is the latest one available (currently version 1.7 as of May 8 this year). Deactivate or remove any older version, but in the latter case don't remove the associated data (i.e. leave the checkbox blank).
As to the original poster, a loss of data is possible in older versions of Firefox, if you never use the Exit command in the File menu. The Exit command saves all data to the prefs.js file. If you exit in other ways, the settings are only preserved in the cache, and once that cache gets flushed, all your data are lost. I believe the latest Greasemonkey/Firefox combo saves more frequently.