TipsGuru Safe Bypass (No Error)

Waits 6 seconds to set cookies, then redirects to avoid "Unauthorized Access".

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         TipsGuru Safe Bypass (No Error)
// @namespace    http://tampermonkey.net/
// @version      4.0
// @description  Waits 6 seconds to set cookies, then redirects to avoid "Unauthorized Access".
// @author       Chat G
// @match        *://tipsguru.in/prolink.php*
// @match        *://*.tipsguru.in/prolink.php*
// @run-at       document-idle
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Screen par user ko dikhane ke liye message
    let overlay = document.createElement('div');
    overlay.innerHTML = '<h2 style="background:red;color:white;padding:10px;text-align:center;position:fixed;top:0;left:0;width:100%;z-index:9999;">Bypassing... Please Wait 6 Seconds (Fixing Unauthorized Error)</h2>';
    document.body.appendChild(overlay);

    // 6 Second ka wait taaki "Unauthorized" error na aaye
    setTimeout(function() {
        let params = new URLSearchParams(window.location.search);
        let id = params.get('id');

        if (id) {
            try {
                let finalUrl = atob(decodeURIComponent(id));
                if(finalUrl && finalUrl.includes('http')) {
                    // Message update
                    overlay.innerHTML = '<h2 style="background:green;color:white;padding:10px;text-align:center;position:fixed;top:0;left:0;width:100%;z-index:9999;">Redirecting Now...</h2>';
                    // Safe Redirect
                    window.location.href = finalUrl;
                }
            } catch(e) {
                console.log("Error:", e);
            }
        }
    }, 6000); // 6000ms = 6 Seconds wait
})();