Last active
August 8, 2016 02:31
-
-
Save cr4m3r/9c26577161b397bfbd092e9396a54cce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Sticky MTG ModBar | |
// @version 1.0 | |
// @description make the #moderatorBar sticky | |
// @author slothbear | |
// @icon http://i.imgur.com/yptTSAh.gif | |
// @match http://www.mturkgrind.com/threads/* | |
// @require https://code.jquery.com/jquery-2.1.4.min.js | |
// @require https://raw.githubusercontent.com/garand/sticky/master/jquery.sticky.js | |
// ==/UserScript== | |
$(document).ready(function(){ | |
$('#moderatorBar').sticky({topSpacing:0, zIndex:666}); // uses sticky.js to keep the moderatorBar on top | |
$('#moderatorBar').css({opacity: 0.33, right: 0}); // makes bar see through | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment