Skip to content

Instantly share code, notes, and snippets.

View hzoo's full-sized avatar
🌱
outside

Henry hzoo

🌱
outside
View GitHub Profile
@hzoo
hzoo / removeLowRank.js
Last active August 29, 2015 14:00
Delicious - remove low link rank sites
//selects all links in delicious page with link rank <= var for deletion
var minimumLinkRank = 10;
clearInterval(scroll);
var scroll = window.setInterval(function() {
window.scrollTo(0,document.body.scrollHeight);
}, 5000);
var feedList = document.querySelector('.link-list');
var historyLength = feedList.children.length;
@hzoo
hzoo / twitchfilter.js
Last active August 29, 2015 13:56
TwitchPlaysPokemon chat filter
//here's a cleaner version. same functionality
//just easier to change since the regex is at the beginning of the code.
//help from /u/BBQCalculator
//http://www.regexper.com/
//http://regexpal.com/
//modfied from a lot of others
//moved regex to top for simple pasting if it needs to change
var REGEX = /^((up|down|left|right|a|b|start|select|anarchy|democracy)\d*)+$/i;