Does anybody know of a bookmarklet or firefox addon that let's you extract part of an url.
Specifically I want to extract the message id from a gmail conversation. Every message in gmail has a unique ID. The url may look like this: https://mail.google.com/a/domain.com/#all/1251b8f40722a3c2
What I want, is to be able to extract the last 16 characters (the "1251b8f40722a3c2" part) from the url and have it copied to the clipboard automatically.
A bookmarklet would be preferred (compatibility), but a firefox addon is also okay.
Thank you! :)