Created
April 2, 2016 10:50
-
-
Save pta2002/4e920a7f3a93f96f873f45a589a1d0bc 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 Robin Enhancement Suite | |
// @namespace com.pta2002.robines | |
// @description Enhances robin | |
// @include https://www.reddit.com/robin | |
// @include http://www.reddit.com/robin | |
// @include https://reddit.com/robin | |
// @include http://reddit.com/robin | |
// @include https://www.reddit.com/robin/ | |
// @include http://www.reddit.com/robin/ | |
// @include https://reddit.com/robin/ | |
// @include http://reddit.com/robin/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var l = document.createElement('script'); | |
l.src = "https://cdnjs.cloudflare.com/ajax/libs/jQuery-linkify/1.1.7/jquery.linkify.min.js"; | |
document.getElementsByTagName('body')[0].appendChild(l); | |
function sendMessage(message){ | |
$("#robinSendMessage > input[type='text']").val(message); | |
$("#robinSendMessage > input[type='submit']").click(); | |
} | |
setTimeout(function(){ | |
sendMessage("/vote grow"); | |
}, 5000); | |
setInterval(function(){ | |
$('.robin-message--message').linkify(); | |
}, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment