Greasy Fork 支持简体中文。

Claimlitoshi (♍)

Claimlitoshi Manual AntiBotLinks with auto-redirect

// ==UserScript==
// @name         Claimlitoshi (♍)
// @namespace    https://tamperemonkey.net/
// @version      1.7
// @description  Claimlitoshi Manual AntiBotLinks with auto-redirect
// @author       Tijuslemon
// @license      Copyright - Tijuslemon
// @match        https://claimlitoshi.top/*
// @grant        none
// @require      https://code.jquery.com/jquery-3.6.0.min.js
// @run-at       document-start
// ==/UserScript==

this.$ = this.jQuery = jQuery.noConflict(true);

(function() {
    'use strict';
    const Tijuslemon = () => {
        const selectors = [
            '[src*="deedfe1ed402fe415d077a0a0b5e8a2b"]',
            '[src*="https://cryptocoinsad.com"]',
            '[src*="//ad.a-ads.com"]',
            '[src*="https://static.bmcdn6.com"]',
            '[class*="0343b648-5b99-4c68-ac96-b7e062482b9b"]',
            '[class*="f7154d7a-17ae-43f6-bef3-86ed081cf42c"]',
            'div[class*="ct_coTWNzBS6oN_container"]',
            'div[class*="ct_cwmlBj1WGkr_container"]',
            'ins[class*="66e798f7901edbda5a005020"]',
            'ins[class*="66e4668af8e5032a73b7fbe5"]',
            'span[class*="x x-icon xicon-light-primary span-x-left"]',
            'iframe[src*="//ads.coinserom.com"]',
            'iframe[src*="https://cdn.bmcdn6.com"]',
            'iframe[data-aa*="2345487"]',
            'iframe[data-aa*="2351639"]',
            'iframe[src*="https://apps-sg1.adsgravity.io"]',
            'iframe[scrolling*="no"]',
            '[onclick="$(this).parent().fadeOut();"]',
            '[style*="border: none; width: 300px; height: 250px; overflow: hidden;"]',
            '[href*="https://bitmedia.io"]',
            '[href*="https://apps-sg1.adsgravity.io/v1/click?rid="]',
            '[href*=https://veev.to"]',
            'async[src*="https://www.intellipopup.com/wthcJ/pmmenu.js"]',
            'script[src*="//static.surfe.pro/js/net.js"]',
            'link[href*="https://static.bmcdn6.com"]'
        ];
        selectors.forEach(selector => {
            const elements = document.querySelectorAll(selector);
            elements.forEach(element => {
                element.style.display = 'none';
                element.remove();
            });
        });
    };
    setInterval(Tijuslemon, 0);

    const referralUrl = "https://claimlitoshi.top/?r=8217";
    function redirectToNextUrl() {
        const currentUrl = window.location.href;
        if (currentUrl === "https://claimlitoshi.top/app/dashboard") {
            window.location.href = "https://claimlitoshi.top/app/faucet?currency=MATIC" + "&r=8217";
            return;
        }
        if (currentUrl === "https://claimlitoshi.top/app/faucet?currency=MATIC") {
            setTimeout(function() {
                window.location.href = "https://claimlitoshi.top/app/faucet?currency=LTC" + "&r=8217";
            }, 1000);
        } else if (currentUrl === "https://claimlitoshi.top/app/faucet?currency=LTC") {
            setTimeout(function() {
                window.location.href = "https://claimlitoshi.top/app/faucet?currency=USDT" + "&r=8217";
            }, 1000);
        } else if (currentUrl === "https://claimlitoshi.top/app/faucet?currency=USDT") {
            setTimeout(function() {
                window.location.href = "https://claimlitoshi.top/app/faucet?currency=TRX" + "&r=8217";
            }, 1000);
        } else if (currentUrl === "https://claimlitoshi.top/app/faucet?currency=TRX") {
            setTimeout(function() {
                window.location.href = "https://claimlitoshi.top/app/faucet?currency=MATIC" + "&r=8217";
            }, 1000);
        }
    }
    redirectToNextUrl();

    const $ = window.jQuery;
    const resizeSmallQ = 1;
    const cl = text => {
        const cssRule = "border-left: 3px solid #f1b44c; padding-left: 5px; ";
        setTimeout(console.log.bind(console, "%c" + text, cssRule), 0);
    };
    $(document).ready(function() {
        setTimeout(function() {
            const ablQImg = $("#antibotlinks_reset").prev("img").attr("src");
            const ablTmp = new Image();
            ablTmp.src = ablQImg;
            const ablQWidth = ablTmp.width;
            const ablQHeight = ablTmp.height;
            let myHeightQ = 35;
            let myHeightB = 50;
            if (resizeSmallQ && ablQWidth < 150) myHeightQ *= 1.3;
            const ablBtnData = [];
            let ablClicks = 0;

            $("#antibotlinks").closest('form').find('a').each(function() {
                const rel = $(this).attr('rel');
                const img = $(this).find("img").attr("src");
                if (rel > 0 && img.length > 0) {
                    ablBtnData.push(`<img src="${img}" height="${myHeightB}" data-abl="${rel}" class="abl_btn abl_abl_hand">`);
                }
            });

            if ($("#antibotlinks").closest('form').is(":visible")) {
                cl("AntiBotLinks terlihat");

                if (!$("#i_bg").length) {
                    $("html").append(`
                    <div id="i_bg" style="position: fixed; z-index: 99999999; background-color: #212529; opacity: 0.98; top: 0; left: 0; width: 100%; height: 100%; display: none;">
                        <div id="i_box" style="position: fixed; z-index: 99999998; top: 10%; left: 50%; transform: translateX(-50%); text-align: center; font: bold 16px arial; line-height: 150%; opacity: 1; border: 1px solid #000; padding: 50px; border-radius: 10px;" class="abl_bg_light">
                            <img src="${ablQImg}" style="height: ${myHeightQ}px !important;">
                            <br><br>
                            <div style="font: 14px arial;">
                                <span class="abl_theme" style="float:left; margin: 0 20px;">Hover to THEME</span>
                                <span class="abl_reset abl_abl_hand" style="float:right; margin: 0 20px;">Click to RESET</span>
                            </div>
                            <br><br><br>
                            ${ablBtnData.join('')}
                        </div>
                    </div>
                    <style>
                        #i_box a, #i_box a:visited { line-height: 150%; font-size: 24px; color: #000; }
                        .abl_btn { margin: 0 10px; border-bottom: 1px solid #ccc; }
                        .abl_abl_hand { cursor: pointer; }
                        .abl_bg_light { background-color: #fff; color: #ccc; }
                        .abl_bg_dark { background-color: #000; color: #303030; }
                    </style>
                    `);
                    $("#i_bg").fadeIn("fast");
                    let tittle1 = document.title;
                    setInterval(() => {
                        document.title = (document.title === "BY TIJUSLEMON" ? tittle1 : "BY TIJUSLEMON");
                    }, 2000);
                }
            } else {
                cl("AntiBotLinks tidak terlihat");
            }

            $(document).on("click", "img[data-abl]", function() {
                const value = $(this).data("abl");
                if ($("#antibotlinks").val().indexOf(value) === -1) {
                    $("#antibotlinks").val($("#antibotlinks").val() + " " + value);
                }
                $(this).hide();
                ablClicks++;

                if (ablClicks === ablBtnData.length) {
                    const solution = $("#antibotlinks").val().trim();
                    console.log("Solusi yang dikirim: ", solution);
                    if (solution.length <= 1000) {
                        $("#antibotlinks").closest('form').submit();
                        $("#i_bg").fadeOut("fast");
                        $("#antibotlinks").closest('form').find("a").fadeOut();
                        $("#antibotlinks_reset").after(`<p>${solution}</p>`);
                        const notification = $("<div id='successNotification' style='border-radius:8px; position: fixed; z-index: 999999; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 1em; background: #fff; box-shadow: 0 0 1px rgba(0, 0, 0, .075); pointer-events: all; font-size: 16px; text-align: center; font-weight: bold;'>Bypassed By Tijuslemon</div>");
                        $("body").append(notification);
                        $("<style>")
                            .prop("type", "text/css")
                            .html(`
                                @keyframes shake {
                                    0% { transform: translate(-50%, -50%) translateX(-10px); }
                                    25% { transform: translate(-50%, -50%) translateX(10px); }
                                    50% { transform: translate(-50%, -50%) translateX(-10px); }
                                    75% { transform: translate(-50%, -50%) translateX(10px); }
                                    100% { transform: translate(-50%, -50%) translateX(0); }
                                }
                                #successNotification { animation: shake 0.5s ease; }
                            `)
                            .appendTo("head");

                        setTimeout(() => {
                            notification.fadeIn("slow");
                            setTimeout(() => {
                                notification.fadeOut("slow", function() {
                                    $(this).remove();
                                });
                            }, 5000);
                        }, 500);
                    } else {
                        console.log("Data terlalu banyak, tidak mengirim.");
                    }
                }
            });

            $(document).on("click", ".abl_reset", function() {
                $("#antibotlinks").val("");
                $("img[data-abl]").show();
                ablClicks = 0;
                cl("Reset berhasil, klik ulang gambar.");
            });

            $(document).on("mouseover", ".abl_theme", function() {
                $("#i_box").toggleClass("abl_bg_light abl_bg_dark");
            });

            $(document).on("click", "#claimNowButton", function() {
                console.log("Claim Now button clicked");
                redirectToNextUrl();
            });

        }, 1000);
    });
})();