A quick extension to see a list of all the bookmarks that have shortcuts defined for them.
Implemented as about:bookmarks maybe?
Mainly just something prettier than grep bookmarks.html -e’SHORTCUTURL’ > shortcuts.txt
XPath search would be useful… //A[@SHORTCUTURL] or something along those lines.
edit:
A quick perl one-liner, to be executed from within one’s Firefox profile directory. On Windows, put %appdata%\Mozilla\Firefox\Profiles\in Explorer and one of the randomly-named subfolders is (probably) your profile. Then, paste this to cmd.exe:
perl -nle “if(/^.*?HREF=”(.*?)”.*?SHORTCUTURL=”(.*?)”.*?$/) { print $2 . “\t\t” . $1; }” bookmarks.html
On *nix or a Cygwin shell, which interprets quotes sanely, use this command instead:
perl -nle ‘if(/^.*?HREF=”(.*?)”.*?SHORTCUTURL=”(.*?)”.*?$/) { print $2 . “\t\t” . $1; }’ bookmarks.html
I get this output:
todo
http://eschew.tadalist.com/lists/all
del
http://del.icio.us/benkarel
google
http://www.google.com/search?&q=%s&sourceid=firefox
goto
http://www.google.com/search?q=%s&btnI=I'm+Feeling+Lucky&sourceid=firefox
dict
http://dictionary.reference.com/search?q=%s
quot
http://www.google.com/search?&q=stocks:%s&sourceid=firefox
wp
http://en.wikipedia.org/wiki/Special:Search?search=%s
imdb
http://www.imdb.com/Find?for=%s&select=All
movies
http://imdb.com/showtimes/location/19803
bug
https://bugzilla.mozilla.org/show_bug.cgi?id=%s
ft
http://flickr.com/photos/tags/%s
regexp
http://developer.mozilla.org/en/docs/…Regular_Expressions ps
http://projects.edgewall.com/python-sidebar/html/toc-tutorial.html
remind
https://www.3e.org/remind/admin.php