Skip to content

Instantly share code, notes, and snippets.

@netpro2k
Created October 31, 2010 21:39
Show Gist options
  • Save netpro2k/657187 to your computer and use it in GitHub Desktop.
Save netpro2k/657187 to your computer and use it in GitHub Desktop.
Auto page streams on GetGlue.com
// ==UserScript==
// @name GetGlue AutoPager
// @author Dominick D'Aniello
// @namespace http://netpro2k.com/
// @description Auto page streams on GetGlue.com
// @include http://getglue.com/streams
// @include http://getglue.com/streams/*
// ==/UserScript==
var st = document.createElement('script');
st.setAttribute('type', 'text/javascript');
st.innerHTML = "$(window).scroll(function(){if (($(window).scrollTop() + 200) >= $(document).height() - $(window).height()){$('a.newStreaNext').click();}});";
document.body.appendChild(st);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment