SHOW:
|
|
- or go back to the newest paste.
1 | // Cloned from Koggiri's noise following bookmarklet | |
2 | // Now ignores friends as well as already noised | |
3 | // @iagdotme | |
4 | ||
5 | //clicks all non-noise people on screen. load up a bunch then run the script. version 2 | |
6 | //Working as of Sept. 28 | |
7 | ||
8 | __cnt__ = 0; | |
9 | delay = 1000; | |
10 | NOPE = 0; | |
11 | - | if (ele.closest('.noise--active').length) { |
11 | + | |
12 | count=1; | |
13 | jQuery('button[data-capture="noiseClicked"]').each(function(i, ele) { | |
14 | ele = jQuery(ele); | |
15 | if (ele.closest('.noise--active').length || ele.closest('.friend--active').length) { | |
16 | NOPE++; | |
17 | return; | |
18 | } | |
19 | YAS++; | |
20 | setTimeout(function() { | |
21 | console.log('click: '.concat(count++).concat(" / ").concat(YAS)); | |
22 | if (count == YAS) console.log("FINISHED FINISHED FINISHED FINISHED FINISHED"); | |
23 | ele.click(); | |
24 | }, __cnt__++ * delay); | |
25 | }); | |
26 | console.log("Already noised:: ".concat(NOPE).concat(" Going to click: ").concat(YAS)); | |
27 | - | javascript: __cnt__=0;delay=1e3;NOPE=0;YAS=0;count=1;jQuery('button[data-capture="noiseClicked"]').each(function(e,t){t=jQuery(t);if(t.closest(".noise--active").length){NOPE++;return}YAS++;setTimeout(function(){console.log("click: ".concat(count++).concat(" / ").concat(YAS));if(count==YAS)console.log("FINISHED FINISHED FINISHED FINISHED FINISHED");t.click()},__cnt__++*delay)});console.log("Already noised:: ".concat(NOPE).concat(" Going to click: ").concat(YAS)) |
27 | + | |
28 | /* | |
29 | BOOKMARKLET: | |
30 | ||
31 | javascript:__cnt__=0,delay=1e3,NOPE=0,YAS=0,count=1,jQuery('button[data-capture="noiseClicked"]').each(function(a,b){return b=jQuery(b),b.closest(".noise--active").length||b.closest(".friend--active").length?(NOPE++,void 0):(YAS++,setTimeout(function(){console.log("click: ".concat(count++).concat(" / ").concat(YAS)),count==YAS&&console.log("FINISHED FINISHED FINISHED FINISHED FINISHED"),b.click()},__cnt__++*delay),void 0)}),console.log("Already noised:: ".concat(NOPE).concat(" Going to click: ").concat(YAS)); | |
32 | ||
33 | */ |