There are 4 previous versions of this script.
// ==UserScript==
// @name FriendFeed Sidebar Tweaks
// @namespace http://www.fatihturan.com/
// @description Some sidebar tweaks for Friendfeed. v. 0.1
// @include http://friendfeed.com/*
// @include https://friendfeed.com/*
// ==/UserScript==
//call jQuery magic
$ = unsafeWindow.jQuery;
//styles
var likesStyle = 'style="padding:2px 0 2px 18px; background:url(http://friendfeed.com/static/images/smile.png?v=2) no-repeat; font-size:10px"';
var commentsStyle = 'style="padding:2px 0 2px 18px; background:url(http://friendfeed.com/static/images/comment-friend.png?v=2) no-repeat 0 4px; font-size:10px"';
//paths
var me = $('.me .mainlink a');
var sidebar = $('#sidebar .container');
//hrefs
var likesPath = me.attr('href') + '/likes';
var commentsPath = me.attr('href') + '/comments';
//some DOM manipulation
me.after('<br /><a href="' + likesPath + '"' + likesStyle +'" class="commentsNlikes">Likes</a>');
me.after('<br /><a href="' + commentsPath + '"' + commentsStyle +'" class="commentsNlikes">Comments</a>');
sidebar.css('position','fixed');
//override FF's default link click method
$('.commentsNlikes').bind("click", function(){
$(this).removeAttr('target');
});
