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
/* | |
USAGE: | |
copy and paste all of this into the javascript console. you can then call falseVote(ians_comment_id, times) to upvote | |
ian as partygoer times times. you can also provide your own comment_id by doing an inspect element on the voting div | |
on anyone's profile. | |
the ajax requests are synchronous to allow for the coockie bs. this makes the execution seem slow for large times. | |
i wonder how long it takes to run it for thousands of iterations... | |
*/ |
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
/* | |
* Copyright (C) 2015 Jake Wharton | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |