Skip to content

Instantly share code, notes, and snippets.

@dest4590
Last active November 1, 2024 23:51
Show Gist options
  • Save dest4590/a2c3c6caa3c7467dd3ad6f4a4c00b6b2 to your computer and use it in GitHub Desktop.
Save dest4590/a2c3c6caa3c7467dd3ad6f4a4c00b6b2 to your computer and use it in GitHub Desktop.
MoneyzBypass (javascript)

MoneyZ Ads bypass

Just execute this text in console

   $('.button_task_open_url').removeClass("button_gray").css({
    'cursor': 'pointer'
    }).prop('onclick', '').off('click').on('click', function () {
        link_click(this);
    })

    function removeShittyAds() {
        try {
            document.getElementsByClassName('page_link_banner')[0].remove()
            document.getElementsByClassName('wrap_tasks_hint')[0].remove()

            document.querySelectorAll('#page_link_button_task_').forEach(element => {
                element.remove()
            });
        }
        catch (e) {
            console.log(e)
        }
    }

    notify_up = function(html, hide, timeout, center) {
        console.log('stupid moneyz, no')
    }

    removeShittyAds()

    function link_click(this_elem) {
        var link_type = $('#page_link_type').val()
            , notify_text = '';
        var link_key = $('#page_link_key').val()
            , link_full_val = $('#page_link_full_val').val();
        link_key = $.trim(link_key);
        link_type = $.trim(link_type);
        link_full_val = $.trim(link_full_val);
        $.ajax({
            type: 'post',
            url: domen + '/action.php',
            beforeSend: function () {
                $(this_elem).addClass('button_inactive').prop('onclick', '').off('click');
            },
            data: {
                'lsdofu': link_key
            },
            success: function (response) {
                var json = JSON.parse(response);
                if (json.success == 1) {
                    json.link_full_val = json.link_full_val.replace(/(https?:)?\/\//i, '');
                    window.open('//' + json.link_full_val);
                }
                $(this_elem).removeClass('button_inactive').off('click').on('click', function () {
                    link_click(this_elem)
                });
            }
        })
    }

Or use this tampermonkey script

// ==UserScript==
// @name         MoneyzBypass
// @namespace    https://moneyz.fun/
// @version      2024-04-26
// @description  Removes shit
// @author       dest4590
// @match        https://moneyz.fun/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    $('.button_task_open_url').removeClass("button_gray").css({
    'cursor': 'pointer'
    }).prop('onclick', '').off('click').on('click', function () {
        link_click(this);
    })

    function removeShittyAds() {
        try {
            document.getElementsByClassName('page_link_banner')[0].remove()
            document.getElementsByClassName('wrap_tasks_hint')[0].remove()

            document.querySelectorAll('#page_link_button_task_').forEach(element => {
                element.remove()
            });
        }
        catch (e) {
            console.log(e)
        }
    }

    notify_up = function(html, hide, timeout, center) {
        console.log('stupid moneyz, no')
    }

    removeShittyAds()

    function link_click(this_elem) {
        var link_type = $('#page_link_type').val()
            , notify_text = '';
        var link_key = $('#page_link_key').val()
            , link_full_val = $('#page_link_full_val').val();
        link_key = $.trim(link_key);
        link_type = $.trim(link_type);
        link_full_val = $.trim(link_full_val);
        $.ajax({
            type: 'post',
            url: domen + '/action.php',
            beforeSend: function () {
                $(this_elem).addClass('button_inactive').prop('onclick', '').off('click');
            },
            data: {
                'lsdofu': link_key
            },
            success: function (response) {
                var json = JSON.parse(response);
                if (json.success == 1) {
                    json.link_full_val = json.link_full_val.replace(/(https?:)?\/\//i, '');
                    window.open('//' + json.link_full_val);
                }
                $(this_elem).removeClass('button_inactive').off('click').on('click', function () {
                    link_click(this_elem)
                });
            }
        })
    }
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment