(Update: If you have Google Gears, temporarily disable it for Google Docs by removing docs.google.com from the list of allowed sites in Google Gears Settings.)
For example, to generate a table of contents from the headings of a document, just paste this code in the address bar:
javascript:mr("TocSettings");
You should see a dialog that lets you choose the numbering style.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha3KtPqTLrmosfqOA-AEm_GG8QK1hStaYcJFh0TlkqWfaRP_NtPzoJx_7ldoGWGjP9Lt8NtHXOEr6ccoL5VJ6v2xiC2l3SbCjoWwoObknJz-YF5Mu_HVgXdbktMqD3uF16dr-iN4mCeMU/s640/google-docs-toc.png)
There's also an option to insert a HTML snippet without editing the HTML code. The dialog can be invoked by pasting in the address bar:
javascript:dy();
A word processor is more useful if you can easily access a dictionary, an encyclopedia and other sources of information. Select some text from a document and paste the following lines to show information from:
Encyclopædia Britannica
javascript:MC=NC();GC("encyclopedia");
Merriam-Webster's Online Dictionary
javascript:MC=NC();GC("dictionary");
Merriam-Webster's Online Thesaurus
javascript:MC=NC();GC("thesaurus");
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXM36URoH0y8S6e9ehR62sOuDpy9kG3kcvmQVvOIDHSKm2DJT6V23DQKz8p_iJ6rnPwgAkAA_XlqW1YCjIjT624Tk6e5p2crnlTrvfc50dGsOXSZcVeZsLfrSLDhoQnvQSl14WpvyrRSE/s640/google-docs-thesaurus.png)
Hopefully, these features will soon be added in the interface.