Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Horwse
  3. // @namespace http://hbshost.pl/
  4. // @version 0.1
  5. // @description HorwseAction
  6. // @author HBS
  7. // @match https://www.howrse.pl/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. $('<div id="InformationHBS" style="position: absolute; top: 0px; left: 0px; z-index: 999; color: black; font-size: 20px;"></div>').appendTo('body');
  12. $( document ).ready(function() {
  13. HorwseBot();
  14. });
  15.  
  16. function HorwseBot(){
  17. var Opieka = document.getElementById("tabs-info");
  18. if (Opieka !== null) {
  19. setTimeout(function(){
  20. $('a#boutonPanser').click(); // oporzadz
  21. $('#InformationHBS').html('Oporządzenie');
  22. }, 1000);
  23. setTimeout(function(){
  24. $('a#boutonNourrir').click(); // menu karma
  25. $('#InformationHBS').html('Otworzenie menu z karma');
  26. }, 2000)
  27. setTimeout(function(){
  28. $('button#feed-button').click(); // nakarm
  29. $('#InformationHBS').html('Nakarmienie');
  30. }, 3000);
  31. setTimeout(function(){
  32. $('a#boutonCoucher').click(); // spanko
  33. $('#InformationHBS').html('Położenie spać');
  34. }, 4000);
  35. setTimeout(function(){
  36. document.getElementById("nav-previous").click();
  37. $('#InformationHBS').html('Następny');
  38. }, 5000);
  39. } else {
  40. $('#InformationHBS').html('Przejdź do zarządzania koniem, by aktywować bota!');
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement