TipsGuru Bypass + 240s Timer

Decodes link, clears page, waits 240s, then redirects.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         TipsGuru Bypass + 240s Timer
// @namespace    http://tampermonkey.net/
// @version      5.0
// @description  Decodes link, clears page, waits 240s, then redirects.
// @author       Chat G
// @match        *://tipsguru.in/prolink.php*
// @match        *://*.tipsguru.in/prolink.php*
// @run-at       document-start
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // URL se ID nikalna
    let params = new URLSearchParams(window.location.search);
    let id = params.get('id');

    if (id) {
        try {
            // Link decode karna
            let finalUrl = atob(decodeURIComponent(id));

            // Agar link sahi hai, toh timer shuru karo
            if(finalUrl && finalUrl.includes('http')) {
                startTimerAndRedirect(finalUrl);
            }
        } catch(e) {
            console.log("Error:", e);
        }
    }

    function startTimerAndRedirect(url) {
        // Page load rok do taaki ads load na hon
        window.stop();

        // Poori screen saaf kardo
        document.documentElement.innerHTML = '<head></head><body></body>';

        // Timer wala box banao (Design copied from your reference)
        const container = document.createElement('div');
        container.style.cssText = `
            display:flex;
            justify-content:center;
            align-items:center;
            height:100vh;
            font-size:40px;
            font-family:Arial,sans-serif;
            background:#000;
            color:#0f0;
            margin:0;
        `;
        
        // Body ka margin 0 karo taaki full screen black dikhe
        document.body.style.margin = "0";
        document.body.appendChild(container);

        // 240 Seconds ka time set kiya
        let timeLeft = 240;

        container.textContent = `Redirecting in ${timeLeft}s`;

        // Countdown shuru
        const timer = setInterval(() => {
            timeLeft--;
            container.textContent = `Redirecting in ${timeLeft}s`;

            if (timeLeft <= 0) {
                clearInterval(timer);
                // Time khatam hone par redirect
                window.location.href = url;
            }
        }, 1000);
    }
})();