Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Ad hack
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://zlamoney.club/showadv.php?*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- setInterval(function(){
- var first = document.getElementById("cimg1");
- var second = document.getElementById("cimg2");
- var third = document.getElementById("cimg3");
- var field = document.getElementsByTagName("input")[0];
- var fimg = first.getElementsByTagName('img')[0].src;
- var simg = second.getElementsByTagName('img')[0].src;
- var timg = third.getElementsByTagName('img')[0].src;
- var frst = 0;
- var scnd = 0;
- var thrd = 0;
- if(fimg == "https://zlamoney.club/images/capchs/1.png"){
- frst = 1;
- }
- else if (fimg.src == "https://zlamoney.club/images/capchs/2.png"){
- frst = 2;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/3.png"){
- frst = 3;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/4.png"){
- frst = 4;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/5.png"){
- frst = 5;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/6.png"){
- frst = 6;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/7.png"){
- frst = 7;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/8.png"){
- frst = 8;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/9.png"){
- frst = 9;
- }
- else if (fimg == "https://zlamoney.club/images/capchs/0.png"){
- frst = 0;
- }
- if(simg == "https://zlamoney.club/images/capchs/1.png"){
- scnd = 1;
- }
- else if (simg == "https://zlamoney.club/images/capchs/2.png"){
- scnd = 2;
- }
- else if (simg == "https://zlamoney.club/images/capchs/3.png"){
- scnd = 3;
- }
- else if (simg == "https://zlamoney.club/images/capchs/4.png"){
- scnd = 4;
- }
- else if (simg == "https://zlamoney.club/images/capchs/5.png"){
- scnd = 5;
- }
- else if (simg == "https://zlamoney.club/images/capchs/6.png"){
- scnd = 6;
- }
- else if (simg == "https://zlamoney.club/images/capchs/7.png"){
- scnd = 7;
- }
- else if (simg == "https://zlamoney.club/images/capchs/8.png"){
- scnd = 8;
- }
- else if (simg == "https://zlamoney.club/images/capchs/9.png"){
- scnd = 9;
- }
- else if (simg == "https://zlamoney.club/images/capchs/0.png"){
- scnd = 0;
- }
- if(timg == "https://zlamoney.club/images/capchs/1.png"){
- thrd = 1;
- }
- else if (timg == "https://zlamoney.club/images/capchs/2.png"){
- thrd = 2;
- }
- else if (timg == "https://zlamoney.club/images/capchs/3.png"){
- thrd = 3;
- }
- else if (timg == "https://zlamoney.club/images/capchs/4.png"){
- thrd = 4;
- }
- else if (timg == "https://zlamoney.club/images/capchs/5.png"){
- thrd = 5;
- }
- else if (timg == "https://zlamoney.club/images/capchs/6.png"){
- thrd = 6;
- }
- else if (timg == "https://zlamoney.club/images/capchs/7.png"){
- thrd = 7;
- }
- else if (timg == "https://zlamoney.club/images/capchs/8.png"){
- thrd = 8;
- }
- else if (timg == "https://zlamoney.club/images/capchs/9.png"){
- thrd = 9;
- }
- else if (timg == "https://zlamoney.club/images/capchs/0.png"){
- thrd = 0;
- }
- var sum = frst*100 + scnd*10 + thrd;
- field.value = sum;
- document.getElementsByTagName("input")[1].click();
- document.getElementsByTagName("input")[1].click();
- }, 200);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement