Created
March 27, 2013 01:30
-
-
Save damienklinnert/5250841 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
/* | |
A small script for use with Rhetoricus. | |
https://rhetoricus.jit.su/ | |
It clicks five unfollow buttons, then waits 20 seconds before clicking another five. | |
To use, paste it into Firefox's scratchpad whilst using Rhetoricus. | |
I made this, because after inspecting the API responses for excessive unfollows I saw these errors. | |
http://f.cl.ly/items/3P1K3I2A0V1x0v1w1y29/Image%202013-03-27%20at%201.26.09%20AM.png | |
This tiny script slows down the process of unfollowing people in line with the rate limitations of app.net | |
You would only need to use this script if you plan on unfollowing many people at once. | |
*/ | |
(function (e, a, g, h, f, c, b, d) { | |
if (!(f = e.jQuery) || g > f.fn.jquery || h(f)) { | |
c = a.createElement("script"); | |
c.type = "text/javascript"; | |
c.src = "http://ajax.googleapis.com/ajax/libs/jquery/" + g + "/jquery.min.js"; | |
c.onload = c.onreadystatechange = function () { | |
if (!b && (!(d = this.readyState) || d == "loaded" || d == "complete")) { | |
h((f = e.jQuery).noConflict(1), b = 1); | |
f(c).remove() | |
} | |
}; | |
a.documentElement.childNodes[0].appendChild(c) | |
} | |
})(window, document, "1", function ($, L) { | |
setInterval(function(){ | |
$('.btn :lt(5)').click(); | |
}, 22000) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment