The Latchword Browser Bar is a vocabulary development and reinforcement tool for the Mozilla browser. It provides a convenient way to look up words in online dictionaries and other internet reference sources, enables you to create and maintain editable word lists, and generates quizzes/drills based on those word lists which may be run in either manual or automatic mode while you browse.
As with other search tools, users may enter a word to look up by selecting it in the current page or by typing it into the lookup box on the toolbar.

Unlike toolbars offered by a number of commercial dictionary sites, the Latchword Browser Bar can be configured to use your favorite online references in place of the five that are included by default. Multiple reference sources can be searched simultaneously, with the results returned in separate tabs for easy comparison. The user interface accepts a shortcut key, so a lookup can be performed without using the mouse, if desired. For logophiles, the toolbar includes a second button for accessing Word-of-the-Day sites.
The third button pictured above (the file cabinet icon) opens a dialog window for viewing and editing the word list file, automatically filling in the word input textbox with the current selection, if any:

In this window, you can delete or add entries to the current word list, select another word list file, or create a new one. LatchwordBB stores word lists in RDF format.
From these word lists, LatchwordBB can generate a randomized drill which will be displayed, either manually or automatically, in the compact quiz area of the bar:

Users can choose to prompt themselves by definition, shown above, by word, or have the complete entry presented all at once. In addition to vocabulary words, LatchwordBB could potentially be used as a study tool for other subjects that are suited to flashcard-style tutoring, such as foreign languages, legal terms, historical events, chemical formulas, etc.
Feel free to offer ideas and suggestions - your feedback is welcome. Contact me directly at melodious@mindspring.com or visit the LatchWord Browser Bar homepage listed below. You may report bugs via the MozDev Bugzilla page or by emailing me.<Browser>\bin\chrome
or <Browser>\mozilla\chrome, where <Browser>
is the installation directory for the version of Mozilla you're using.
On Windows systems, this will typically be "Program Files\MozillaXX",
with XX representing the release number. Documents and
Settings\<user_name>\Application Data\Mozilla\Profiles\<profile
name>\<random string> or something similar. On Linux, it
would be ~/.mozilla. content,install,url,resource:/chrome/latchwordbb/content/ If you need to uninstall it, delete the 'latchwordbb' directory and its contents. Then edit this file and remove the lines containing "latchwordbb" if present:
Finally, delete the following three files:
to search for it in the default
reference work (which is the online dictionary site www.m-w.com).
Observe that the search text, in this case "convenient", appears in the
lookup text box as the browser retrieves the result of the search and
displays it in the current window. Bring up the preferences dialog by
choosing the "Preferences..." menu item from the main menu, select the
References tab, and change the open method from 'same window' to 'new
window'. Now look up the current word again in another reference
resource by choosing "WordNet" from the lookup button pull down menu.
This time the results web page is opened in a new browser window.
in the original browser window. The View Word List dialog should appear
with the current search term displayed in the 'word' textbox. Add a
definition by typing or cutting/pasting text into the 'definition' field
(bearing in mind that information retrieved from online reference
sources is most likely copyrighted material), and pressing the 'update'
button when you're finished editing the entry.
.
As you work your way through the quiz items, which are presented in
random order, note that if the entire definition for a word is not
visible in the definition text box, you can position the mouse cursor
over it and the definition will be displayed in a popup that appears
just below. To reinitialize the quiz, halt it and restart it by toggling
the "Vocabulary drill" menu item.| Main menu button. | |
![]() |
Lookup button. Select text with the mouse or enter it in the lookup text box, then click this button to look up your search term in the default reference source (the first item in the drop down menu). To search another resource, choose the appropriate location from the drop down menu. |
![]() |
Word of the Day button. Click this button to open the default Word of the Day site (the first item in the associated drop down menu) or choose another Word of the Day site from the drop down menu. |
|
Add Word button. Select text with the mouse or enter it in the lookup text box, then click this button to add the word to the current word list file. This opens the View Word List dialog window and fills in the 'word' textbox with the selected text. |
| |
|
| ? |
Quiz Hint button. For applicable
quiz types (currently only Prompt By Definition), clicking this button
will display a hint. |
![]() |
Quiz Next/Pass button. Click
this button to reveal the answer or advance to the next quiz item, as
appropriate. To skip to the next item without displaying the answer,
depress the <SHIFT> key while clicking this button. |
| = |
Quiz Submit Answer button. For applicable quiz types (currently only Prompt By Definition), you can try to answer by typing your guess in the lookup box and clicking this button (or hitting <ENTER>) to submit it. If the answer is correct, it will be displayed in the appropriate textbox; if not, nothing happens. See Drills and Quizzes below for more details. |

drop down menu or just click the
button to search the default reference. The results page will be
displayed in the same window by default, but you can configure
LatchwordBB to open a new window or tab if you prefer. If you don't
specify a search term, you'll be prompted for it. Note that text
selected in a page will be stripped of leading and trailing punctuation,
as well as extraneous white space, but text typed into the lookup box
(or into the prompt dialog) will be searched for unaltered. Therefore,
if you need to look up an abbreviation or some other term which includes
leading/trailing punctuation, use the lookup box.
and each result will
be displayed in a new tab. To designate a reference source as
'preferred', indicated by the green diamond, or to configure the drop
down menu to include a different reference altogether, use the
preferences dialog as described in the section on editing Lookup and WOD Resources later in this
document.
<user profile>\Latchwordbb,
where <user profile> is the Mozilla user profile directory (the
file should have been copied there during the installation
process). Should you wish to restore the original version of this file
after modifying it, you'll find a read-only copy of it with the
application files in the Latchword installation directory.<user
profile>\Latchwordbb directory by default), and type the new
file name. Once opened, it will remain the working word list until
another is selected.
.
To obtain a hint, if applicable for the quiz type, click the '?'
button. To submit an answer, if applicable for the quiz type, type your
guess in the lookup box and click the '=' button (or hit <ENTER>).
;
however, you can change the quiz type and mode through the preferences dialog (see next section).
Latchword offers three quiz types:| Drill |
Word and definition are
presented simultaneously. Mostly used to familiarize oneself with a set
of words. |
| By Definition |
User is prompted by definition and given a blanked clue with one randomly selected letter revealed.This option allows the most user-participation (you can try to guess the answer or request a hint) and thus, theoretically, provides the greatest reinforcement. |
| By Word |
User is prompted by word, with
the definition textbox left blank. Meant to be a challenging variation. |
| Preference |
Default Value |
Description |
|---|---|---|
| Drill Tab* |
||
| quiz type | By Definition |
Determines how the user will be
prompted (by word, by definition, or having both displayed at the same
time) when a quiz is running. |
| quiz mode | manual | Controls how quiz items are
presented, manually or automatically. Note that clicking the "next/pass"
button will advance to the next question, even in automatic mode. |
| auto interval | 10 | The time in seconds between
successive words in auto mode. |
| pause after answer | 4 | The time in seconds that the
quiz will pause after an answer is displayed. This is only used for quiz
types which expect an answer, i.e. By Word or By Definition. |
| auto hint | true |
Determines whether a hint is
autonomously displayed for By Word quiz types in Automatic mode. The
hint will be displayed after half the time specified by the "auto
interval" setting has elapsed. |
| hint box color | #00FFFF | Background color for the quiz
hint textbox. |
| hint box font size | small | Font size for quiz hint textbox. |
| References Tab |
||
| lookup open method |
Same Window |
Determines how the results page
from a word search, including a default search, is displayed: in the
same browser window, in a new window, or in a new tab. |
| lookup resources 1-5 |
see below |
Name and URL for search
reference menu items. Double click or right-click to edit these values.
Use the 'Restore Default References' button to restore the application defaults. |
| WOD Tab |
||
| wod open method |
Same Window |
Determines how the results page from a Word of the Day request, including the default WOD, is displayed: in the same browser window, in a new window, or in a new tab. |
| wod resources 1-5 |
see below |
Name and URL for wod reference menu items. Double click or right-click to edit these values. Use the 'Restore Default References' button to restore the application defaults. |
| Options Tab |
||
| ignore quiz mode |
false |
Controls how the <ENTER>
key is interpreted in the lookup box while a quiz is running. Normally,
hitting <ENTER> in the lookup box will cause a search on the
specified text to be performed using the default lookup reference, but
if a quiz is running, hitting <ENTER> will submit the text as an
answer instead. If you wish to override this behavior so that the
<ENTER> key always causes a search to be done, set this preference
to "true" by checking the box. Note that you can still submit text in
the lookup box as an answer by using the 'submit' button in the quiz
area. |
Documents and
Settings\<user_name>\Application Data\Mozilla\Profiles\<profile
name>\<random string> or something similar. On Linux, it
would be ~/.mozilla.
and WOD
buttons on the toolbar, open the
preferences dialog, select the References or WOD tab, and double click
or right-click on the appropriate item in the resource list.

You can make the item a 'preferred' resource, meaning that it will be included when doing a simultaneous search or selection of multiple sources, by checking the appropriate box in the Edit Resource dialog window. To make a resource the default, meaning that it is opened when you click the Lookup or WOD button, right-click on the item and choose "Make default" from the context menu. The first item in each list is the default value for the relevant button.
Use the 'Restore Default References' button to replace the current list items with the application defaults, which are listed below. To make the change permanent, you would, of course, press the preference dialog 'okay' button.| Preferred |
Name |
URL |
|---|---|---|
| true |
M-W.com Dictionary |
http://www.m-w.com/cgi-bin/dictionary?va= |
| false |
M-W.com Thesaurus |
http://www.m-w.com/cgi-bin/thesaurus?book=Thesaurus&va= |
| true |
Bartleby.com Amer. Her.
Dict. |
http://www.bartleby.com/cgi-bin/texis/webinator/sitesearch?FILTER=col61&x=16&y=9&query= |
| false |
Bartleby.com Quotations |
http://www.bartleby.com/cgi-bin/texis/webinator/sitesearch?FILTER=colQuotations&x=0&y=0&query= |
| false |
WordNet |
http://www.cogsci.princeton.edu/cgi-bin/webwn2.0?stage=1&word= |
| Preferred |
Name |
URL |
|---|---|---|
| true |
M-W.com | http://www.m-w.com/cgi-bin/mwwod.pl |
| true | dictionary.com | http://dictionary.reference.com/wordoftheday/ |
| true |
A.Word.A.Day | http://www.wordsmith.org/words/today.html |
| false |
Bartleby Daily | http://www.bartleby.com/ |
| false |
New York Times | http://www.nytimes.com/learning/students/wordofday/ |
| Error Message Text |
Description |
|---|---|
| Error 01: File already exists. | Displayed when attempting to create a new word list file and a file with the same path and name is found. |
| Error 02: Unable to write header to new vocab file. | Indicates that the program was unable to write RDF header data when attempting to create a new word list file. Check file permissions for specified file and directory. |
