Let's say you googled "ruby strftime" and ended up on this page:
http://www.ruby-doc.org/core-1.9.3/Time.html#method-i-strftime
Only for your project you need ruby 1.8.7. Simply click the bookmarklet and it will redirect you to this page: http://www.ruby-doc.org/core-1.8.7/Time.html#method-i-strftime
Thanks to @kangax for making these for me. :)
name: ↪ 1.8.7
code:
javascript:void(document.location = document.URL.replace(/\d+\.\d+\.\d+/, '1.8.7'))
name: ↪ 1.9.3
code:
javascript:void(document.location = document.URL.replace(/\d+\.\d+\.\d+/, '1.9.3'))
I did some work on this to support a few more sites / versions: http://robd.github.io/switch-version-bookmarklet/