Useless Blogging

January 28, 2007

More Greasemonkey Stuff You Probably Don’t Care About

Filed under: Greasemonkey,Programming,Uncategorized — steegness @ 3:08 am

Yesterday I stayed up authoring this script to help make it easier for people on the Hollow City boards to nominate worthy posts for experience.

And in this lesson, Sean learns that trying to ship a URL with parameters in a mailto link is decidedly tricky. But I figured it out anyway; the trick, for those who care, was to do a encodeURIComponent() on the URL I was trying to send (as part of the email body), and a plain jane encodeURI() on the rest of the arguments.

See title of post for possible relevance to your life.

Comments are closed.