Drift.io Crate Opener

Let the script open all your crates while watching it(if you want to),rather than breaking ur fingers. Enjoy!

  1. // ==UserScript==
  2. // @name Drift.io Crate Opener
  3. // @namespace https://greasyfork.org/en/users/1462379-3lectr0n-nj
  4. // @version V1
  5. // @description Let the script open all your crates while watching it(if you want to),rather than breaking ur fingers. Enjoy!
  6. // @author 3lectr0N!nj@
  7. // @match https://drift.io/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=drift.io
  9. // @grant none
  10. // ==/UserScript==
  11. let t = 3000
  12. const crate = window.crate = {
  13. openall(){
  14. let t = 3000
  15. setTimeout(() => {
  16. const cselt = "gOcOyMdf2AutWVy_1_Xr "
  17. document.getElementsByClassName(cselt)[0].click()
  18. },t )
  19. let t1 = t + 2000
  20. setTimeout(() => {
  21. const opcr = "VWYQMoyTvRvkDsmkeCaQ oUNyBxqmLpE4HIQT6WpA"
  22. document.getElementsByClassName(opcr)[0].click()
  23. },t1)
  24. let t2 = t + 10000
  25. setTimeout(() => {
  26. const claim = "VWYQMoyTvRvkDsmkeCaQ Qcld8QuUkixtNmrv6LgL"
  27. document.getElementsByClassName(claim)[0].click()
  28. },t2 )
  29. setTimeout(() => {
  30. crate.openall()
  31. },t )
  32. }
  33. }