zackmark29
Elite
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

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

3. Clear all and then paste this script:
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.

* 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


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

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.
