TipsGuru Safe Bypass (No Error)

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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
})();