Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Horwse
- // @namespace http://hbshost.pl/
- // @version 0.1
- // @description HorwseAction
- // @author HBS
- // @match https://www.howrse.pl/*
- // @grant none
- // ==/UserScript==
- $('<div id="InformationHBS" style="position: absolute; top: 0px; left: 0px; z-index: 999; color: black; font-size: 20px;"></div>').appendTo('body');
- $( document ).ready(function() {
- HorwseBot();
- });
- function HorwseBot(){
- var Opieka = document.getElementById("tabs-info");
- if (Opieka !== null) {
- setTimeout(function(){
- $('a#boutonPanser').click(); // oporzadz
- $('#InformationHBS').html('Oporządzenie');
- }, 1000);
- setTimeout(function(){
- $('a#boutonNourrir').click(); // menu karma
- $('#InformationHBS').html('Otworzenie menu z karma');
- }, 2000)
- setTimeout(function(){
- $('button#feed-button').click(); // nakarm
- $('#InformationHBS').html('Nakarmienie');
- }, 3000);
- setTimeout(function(){
- $('a#boutonCoucher').click(); // spanko
- $('#InformationHBS').html('Położenie spać');
- }, 4000);
- setTimeout(function(){
- document.getElementById("nav-previous").click();
- $('#InformationHBS').html('Następny');
- }, 5000);
- } else {
- $('#InformationHBS').html('Przejdź do zarządzania koniem, by aktywować bota!');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement