Last active
August 30, 2017 16:18
-
-
Save psenough/65a990c7c845c31a8e128577fb78850b to your computer and use it in GitHub Desktop.
tampermonkey userscript to improve watch2gether usability
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 Better Watch2Gether | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! or atleast improve watch2gether usability a bit | |
// @author ps | |
// @match http://www.watch2gether.com/rooms/* | |
// @match https://www.watch2gether.com/rooms/* | |
// @downloadURL https://gist.github.com/psenough/65a990c7c845c31a8e128577fb78850b/raw/ | |
// @require https://code.jquery.com/jquery-2.1.4.min.js | |
// ==/UserScript== | |
$(document).ready(function() { | |
fixstuff(); | |
setInterval(fixstuff,10000); | |
}); | |
function fixstuff() { | |
// dont do the fancy margins on top | |
//$(".ui.container").removeClass('container'); | |
//$("#player-chat").css('width', '100%'); | |
// dont stick to top when scrolling down | |
$("#player-chat").removeClass('stickit'); | |
// remove the annoying ad banner in the middle | |
$("#w2g-greatrow").remove(); | |
// show the full playlist, turtles all the way down! | |
$("#playlist-history .bottom.attached.segment").css('max-height','100%'); | |
// wider button to make it easier to add stuff to playlist | |
$(".ui.simple.icon.dropdown.button").css('width','100%'); | |
// make volume controller taller, for better finetune | |
$('#main-volume-slider').css('height','250px'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment