Created
March 2, 2019 19:57
-
-
Save CKGrafico/60a5a775f6be2d3687491f2ebce27a32 to your computer and use it in GitHub Desktop.
Click all bit.ly checkboxes in user portal
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
cki = 0; | |
jQuery('.checkmark-icon.checkbox-icon').each((i, $check) => { | |
if (cki === 95) {return} | |
const count = jQuery($check).parent().parent().parent().find('.click-count--MAIN'); | |
const num = parseInt(count.text(), 10); | |
if (num < 2) { | |
jQuery($check).click(); | |
cki++; | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment