Screenshot / Code Snippet

add the review link

About

A super simple script that adds a review link to the top link bar.

Download

install script or view source

Platform

Has been tested with greasemonkey/Firefox on Mac OS X SnowLeopard and Windows 7, but I don't see why it shouldn't work with other combinations of browsers/OSes (famous last words).

Revision

2010-03-03: Fixed a bug that removed a separator between chat and meta links.

Contact

You can contact me at byskov (at) gmail (dot) com or right here on this page.

Attribution

I would like to attribute Nathan Osman, the author of the excellent copy link script, since I have borrowed the function-injection code from him.

  • 2
    This has since been part of the site. Is it still useful? – Tshepang May 31 '11 at 18:01

Nice script, I like this! One suggestion though, if I may.

.append('<a href="/review"> review </a>');

This makes the link extend farther than it should because you are using a space inside the <a> tag to give it the proper distance from the separator bar.

misbehaving spacer

Instead, you should put a space before the <a> element, like this:

.append(' <a href="/review">review</a>');

Then, the space will not be part of the link, but the text will still be the correct distance from the separator.

better spacer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .