Persistent Persistent Searches

May 25, 2005

Introducing persistent searches in Gmail that are…persistent. First off, props to Mihai Parparita who did all the hard work for adding persistent searches to Gmail. I’ve added to Mihai’s script, so that the saved searches are stored in a special Gmail contact. Previously they were stored in a cookie. The advantages are two fold:

  1. You can access your saved searches (and only yours) from any computer as long as your browser has this script installed.
  2. Multiple people can use the same computer and browser while their saved searches remain separate and distinct from the other person's.

Installation Instructions:

  • Install Greasemonkey (only works with Firefox).
  • Open up this user script (in Firefox).
  • From the "Tools" menu, select "Install User Script.." and confirm all of the various prompts.
  • Logout of Gmail and log back in.

FWIW, I hope to eventually add a few more unrelated features to Gmail via this script. For an overview of how my modifications work see my post on Cookies and Contacts.

Update: Gmail apparently changed a few things in their code this evening. I’ve updated one of the regex’s to work with this change. If you see that your saved searches aren’t being saved or restored properly, you’ll want to reinstall the script.

Update (December 1, 2005): The script has been updated to work with Firefox 1.5 and Greasemonkey 0.6.4.