Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
boglarkla authored Nov 20, 2021
1 parent a8113b7 commit 7f09a5c
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions ebneveldescript.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name EbneveldeScript
// @namespace http://tampermonkey.net/
// @version 1.2
// @version 1.3
// @description Segít automatikusan ellátni a kutyákat ebneveldén, mivel baromi uncsi végig kattintgatni mindent. :)
// @author boglarkla
// @match *://www.ebnevelde.hu/dogs/zoom/?id=*
Expand Down Expand Up @@ -73,15 +73,27 @@
document.getElementsByClassName("big_button")[5].click();
}
else{
document.getElementsByClassName("big_button")[6].click();
document.getElementsByClassName("big_button")[6].click();
}
}
}
}
}
}

if(url.includes("&etel")){
else if(url.includes("&etel")){
document.getElementsByClassName("button")[0].click();
}
else if(url.includes("&tanit")){
document.getElementsByClassName("button")[0].click();
}
else if(url.includes("&jatek")){
document.getElementsByClassName("button")[0].click();
}
else if(url.includes("&furdet")){
document.getElementsByClassName("button")[0].click();
}

/* if(url.includes("&etel")){
document.getElementsByClassName("button")[0].click();
}
Expand All @@ -96,6 +108,7 @@
if(url.includes("&furdet")){
document.getElementsByClassName("button")[0].click();
}
*/
}
)();

0 comments on commit 7f09a5c

Please sign in to comment.