Vanis.io autorespawn extension

Vanis.io autorespawn

  1. // ==UserScript==
  2. // @name Vanis.io autorespawn extension
  3. // @namespace DISCORD:regae#4059
  4. // @version 0.6.0
  5. // @description Vanis.io autorespawn
  6. // @author eager
  7. // @compatible chrome
  8. // @compatible opera
  9. // @match https://vanis.io/*
  10. // @include about:blank
  11. // @run-at document-start
  12. // @grant GM_xmlhttpRequest
  13. // ==/UserScript==
  14.  
  15. var tempo;
  16. var cont = document.getElementsByClassName("container")
  17. function verificar(){
  18.  
  19. if(cont[2].style.display== ""){
  20.  
  21. document.querySelector("[data-v-b0b10308]").click();
  22. }}
  23. function iniciar(){
  24.  
  25. tempo = setInterval(verificar, 500)
  26. }
  27. iniciar()