SHARE
TWEET

Untitled

a guest May 22nd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // How to use: open Console (View -> Developer -> Developer Tools -> Console)
  2. // and paste one of the following:
  3.  
  4. /**
  5.  * Agree with ~first~ reaction in active Slack channel, poll every 10 seconds.
  6.  **/
  7. function clickFirstReaction() {
  8.     $("div.c-reaction_bar > button:nth-child(1):not(.c-reaction--reacted)").click()
  9. }
  10. var timerID = setInterval(clickFirstReaction, 10000);
  11.  
  12. // -- //
  13.  
  14. /**
  15.  * Agree with ~every~ reaction in active Slack channel, poll every 10 seconds.
  16.  **/
  17. function clickEveryReaction() {
  18.     $("div > button.c-button-unstyled.c-reaction:not(.c-reaction--reacted) > span.emoji-outer.emoji-sizer").click()
  19. }
  20. var timerID = setInterval(clickEveryReaction, 10000);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top