This file contains hidden or 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
| //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; |
This file contains hidden or 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
| //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; |
NewerOlder