Skip to content

Instantly share code, notes, and snippets.

@ngi
Forked from antwal/icon64.png
Last active November 1, 2025 16:11
Show Gist options
  • Select an option

  • Save ngi/99134b4bc1f97ff87a7fa8be3b573514 to your computer and use it in GitHub Desktop.

Select an option

Save ngi/99134b4bc1f97ff87a7fa8be3b573514 to your computer and use it in GitHub Desktop.
Video Bypass (maxs19.fun, maxstream.video)
// ==UserScript==
// @name Video Bypass (maxs19.fun, maxstream.video)
// @version 1.0.8
// @description Bypass Anti-AdBlock
// @author antwal, ngi
// @match https://*.maxs19.fun/watchfree/*
// @match https://*.maxstream.video/*
// @match https://maxmon23.online/watchfree/*
// @match https://fmax13.lol/watchfree/*
// @match https://sumax43.autos/watchfree/*
// @match https://samax63.lol/watchfree/*
// @match https://maxv.lol/watchfree/*
// @match https://maxsa648.website/watchfree/*
// @grant none
// @downloadURL https://gist.github.com/ngi/99134b4bc1f97ff87a7fa8be3b573514/raw/maxstream-video-bypass.user.js
// @updateURL https://gist.github.com/ngi/99134b4bc1f97ff87a7fa8be3b573514/raw/maxstream-video-bypass.user.js
// @homepage https://gist.github.com/ngi/99134b4bc1f97ff87a7fa8be3b573514
// ==/UserScript==
(function() {
'use strict';
function isWatchfreeUrl() {
const pathname = window.location.pathname;
return pathname.startsWith("/watchfree");
}
if (isWatchfreeUrl()) {
const iframes = document.getElementsByTagName("iframe");
let maxstreamUrl = null;
for (let i = 0; i < iframes.length; i++) {
const iframe = iframes[i];
const src = iframe.getAttribute("src") || iframe.src;
if (src && src.includes("maxstream.video")) {
maxstreamUrl = src;
break;
}
}
if (maxstreamUrl) {
window.location.replace(maxstreamUrl);
}
} else {
window.alert = function(message) {
console.log("Custom alert: " + message);
};
}
})();
@antwal
Copy link

antwal commented Apr 26, 2025

updated script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment