👨‍🏫 Tutorial Bypass VivaMax VPN Checker

Status
Not open for further replies.
UPDATED: 2023-03-31
* Updated Regex to match either web.vivamax or You do not have permission to view the full content of this post. Log in or register now.



A simple script to bypass this annoying VPN detector kapag nagamit ka ng VPN :)

1679776872100.png

TUTORIAL:


1. Install: You do not have permission to view the full content of this post. Log in or register now.
2. Click the icon and click Create a new script

1679777409011.png
3. Clear all and then paste this script:


JavaScript:
// ==UserScript==
// @name         Block Vivamax VPN checker v1.1
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Bypass blocking when using a VPN.
// @match        https://*.vivamax.net/*
// @grant        none
// @run-at       document-start
// @author       zackmark29
// ==/UserScript==

(function() {
    'use strict';

    const CHECK_VPN_URL = "https://checkvpn.vivamax.net/";
    const REMOVE_MESSAGE_AFTER = 3000;

    const originalXHR = window.XMLHttpRequest;

    window.XMLHttpRequest = function () {
        const xhr = new originalXHR();
        const originalOpen = xhr.open;
        xhr.open = function (method, url) {
            if (url === CHECK_VPN_URL) {
                const message = createMessage();
                document.body.appendChild(message);
                setTimeout(() => { message.remove(); }, REMOVE_MESSAGE_AFTER);
                throw new Error();
            }
            originalOpen.call(this, method, url);
        }
        return xhr;
    }

    function createMessage() {
        const message = document.createElement("div");
        message.style.cssText = "position: fixed; top: 0; left: 0; width: 100%; background-color: #f44336; color: #fff; font-size: 16px; text-align: center; padding: 8px;";
        message.textContent = "VPN Checker has been blocked. Now you can freely use VPN :) -zackmark29";
        return message;
    }
})();


4. Finally, save it and refresh the page.
Makakapanuod kana kahit naka VPN :)


Mawawala din yang red message after 3 secs sakto lang pag load ng video :)
You can remove it if you want.
1679777230017.png
 
Status
Not open for further replies.

About this Thread

  • 16
    Replies
  • 6K
    Views
  • 8
    Participants
Last reply from:
zackmark29

Trending Topics

Online now

Members online
1,024
Guests online
3,108
Total visitors
4,132

Forum statistics

Threads
2,328,267
Posts
29,241,244
Members
1,159,662
Latest member
Rudhhi
Back
Top