Tampermonkey script that brings back an old Stack Exchange feature that never made it out of beta:
// ==UserScript==
// @name Sticky post vote buttons
// @namespace http://tampermonkey.net/
// @version 1
// @description Sticky post vote buttons
// @author RANDOM HOMO SAPIEN
// @match *://*.askubuntu.com/*
// @match *://*.mathoverflow.net/*
// @match *://*.serverfault.com/*
// @match *://*.stackapps.com/*
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$('.votecell .vote').css({'position': 'sticky', 'top': '60px'});
})();
overflow: auto;
has been set on#content
, so in my local copy I've added$('#content').css({'overflow': 'visible'});
to make it match the other sites. I also prefer having the vote buttons float down next to the comment section as well as the question/answer, so I added$('.votecell').css({'grid-row': '1 / span 2'});
too.$('.js-voting-container').css({'position': 'sticky', 'top': '60px'});