How to Edit the Firefox Custom Dictionary
Published Sunday, April 13, 2008 @ 7:58 am • 7 Responses
Oooops! Didn’t really mean to add that particular word to the Firefox custom dictionary. Better remove it now before it causes problems later on..
As one who takes full advantage of the custom dictionary in Firefox, I occasionally find myself adding nonexistent or misspelled words to the dictionary by accident. Not wanting to deal with a false negative down the road, I always take the time to stop what I’m doing, locate the custom dictionary, and remove the erroneous term. Finally getting sick of trying to remember the esoteric location in which Firefox stores the personal dictionary, I decided to make a few notes and post the information here for easy access when it happens again (and it will happen again;).
Turns out that the location of the custom dictionary varies depending on your operating system. The name of the custom dictionary is “persdict.dat” (short for “personal dictionary”), and is located in the following location (depending on operating system):
Windows Vista
C:\users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[unique-alphanumeric-string].default\persdict.dat
Windows XP
C:\Documents and Settings\[username]\ApplicationData\Mozilla\Firefox\Profiles\[unique-alphanumeric-string].default\persdict.dat
Mac OS X
~/Library/Application Support/Firefox/Profiles/[unique-alphanumeric-string].default/persdict.dat
Linux
~/.mozilla/firefox/[unique-alphanumeric-string].default/persdict.dat
Of course, the [username] (for Windows) and [unique-alphanumeric-string] will vary depending on your unique configuration. Once you have located the target file, “persdict.dat”, open it with a text editor and edit according to your needs. The file itself is simply a list of words that you have chosen to add to the dictionary by right-clicking in Firefox and selecting “Add to dictionary”. With this file, you can add as many custom words as you like, or, conversely, remove all those nefarious little rascals that you added by accident! Save, close, and done. Even so, why hasn’t somebody written an official “custom dictionary editor” extension for Firefox? Would be so nice!
About this article
Related articles
Dialogue
7 Responses Jump to comment form
July 31, 2008 at 2:49 am
Hey
thanks for the tip but i tried to change to words in the persdict.dat file and then saving the file. but it doesn’t work. when i open the file after using the dictionary once the old words are back, and the new ones have disappeared!
July 31, 2008 at 2:57 am
AH! sorry for previous comment! I just realised that I had forgotten to close down Firefox when I was changing the file!
Thanks for the tip :-) It does work!
July 31, 2008 at 2:59 am
I just was asking for that! :)
Trackbacks / Pingbacks
Share your thoughts..
← Previous post • Next post →
« Perishable Press Gets Naked • Pure CSS: Better Image Preloading without JavaScript »
1 • H5N1
April 14, 2008 at 9:41 am
Hi Perishable.
I think that this hack (or trick or tweak or whatever you’d like to call it) fits with mine :)
I don’t like spam :) but this arcticle reminds me my “Custom Firefox favicon bookmark toolbar” that you can find at http://codeinsider.blogspot.com/2008/03/firefox-toolbar.html
I’d like to think (and tell me if it’s so) you’re just read it.
:)