Created
April 7, 2017 22:36
-
-
Save rublev/a2a30f778cd00905b412b6e1c14ebfe7 to your computer and use it in GitHub Desktop.
remove all github stars
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
// open console and run cmd+v every time | |
var i = 0; | |
var el = document.querySelectorAll('[aria-label="Unstar this repository"]'); | |
function myLoop () { | |
setTimeout(function () { | |
el[i].click() | |
i++; | |
if (i < 30) { | |
myLoop(); | |
} else { | |
document.location.reload(); | |
} | |
}, 50) | |
} | |
myLoop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment