Facebook
From dab, 4 Weeks ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 38
  1. // ==UserScript==
  2. // @name         datdrop
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @match        *://datdrop.com/battle/*
  8. // @grant        none
  9. // ==/UserScript==
  10. setTimeout(function() {
  11. if(location.href.includes('invite')) {
  12. document.getElementsByClassName('button-acceptGroupGameInvite')[0].click();
  13. } else {
  14. document.getElementsByClassName('_1HkofPbCN7mYjMpvgzkFgj')[0].click();
  15. };
  16. }, 111);
  17. setTimeout(function() {
  18. if(location.href.includes('invite')) {
  19. document.getElementsByClassName('button-acceptGroupGameInvite')[0].click();
  20. } else {
  21. document.getElementsByClassName('_1HkofPbCN7mYjMpvgzkFgj')[0].click();
  22. };
  23. }, 222);
  24. setTimeout(function() {
  25. if(location.href.includes('invite')) {
  26. document.getElementsByClassName('button-acceptGroupGameInvite')[0].click();
  27. } else {
  28. document.getElementsByClassName('RgXdMEXMuWx8fddNbydqK')[0].click();
  29. };
  30. }, 111);
  31. setTimeout(function() {
  32. if(location.href.includes('invite')) {
  33. document.getElementsByClassName('button-acceptGroupGameInvite')[0].click();
  34. } else {
  35. document.getElementsByClassName('_1HkofPbCN7mYjMpvgzkFgj')[0].click();
  36. };
  37. }, 50);