👨‍🏫 Tutorial VivaMax/VivaOne VPN Detector Bypasser v1.2

Dahil di ko na pwedeng maedit yung old thread, dito ko nalang post updated code.
Pakifollow nalang sa first thread ko yung instruction kung paano to gamitin

Tutorial - Bypass VivaMax VPN Checker



VivaMax/VivaOne VPN Detector Bypasser v1.2

Updated: 2023-10-17


JavaScript:
// ==UserScript==
// @name         VivaMax/VivaOne VPN Detector Bypasser v1.2
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Bypass VPN detector.
// @match        https://www.vivamax.net/*
// @match        https://vivaone.ph/*
// @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 Detector has been bypassed. Now you can freely use VPN :) -zackmark29";
        return message;
    }
})();
 

About this Thread

  • 23
    Replies
  • 3K
    Views
  • 11
    Participants
Last reply from:
lurker56

Trending Topics

Online now

Members online
1,114
Guests online
2,429
Total visitors
3,543

Forum statistics

Threads
2,315,679
Posts
29,183,558
Members
1,182,673
Latest member
meatmallet
Back
Top