What this code does, is open a set of web sites, one by one, each time you click the bookmarklet. Right now, in the above code, this set of websites is defined as: Google, this here Space, and Kotaku, but it is very easy to change the URLs to those of other sites.
I use this code to cycle through all the websites I view every day. I never have to type the addresses of those websites again! 🙂
By the way, this code will also work in Internet Explorer 7, and probably some other browsers as well.
Oh, I almost forgot, the script doesn’t play well with certain websites, in particular those that mess with the window.name variable. One of those websites is hotmail.com, so don’t include it in your array of URLs! (Well, you could end the array with it. It only messes up the positio… You know, never mind. I doubt anyone will use this bookmark extensively anyway!)
P.s., I am well aware that this blog hadn’t been updated in… well, years! So don’t worry. I’m also aware that this post has nothing to do with games, other than the gratuituous mentioning of Kotaku.