Skip to content

Instantly share code, notes, and snippets.

@ngi
Forked from antwal/maxstream-video-bypass.user.js
Last active April 26, 2025 20:49
Show Gist options
  • Save ngi/99134b4bc1f97ff87a7fa8be3b573514 to your computer and use it in GitHub Desktop.
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.6
// @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/*
// @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() {
// Get the current URL's path (everything after the domain)
const pathname = window.location.pathname;
// Check if it starts with /watchfree
return pathname.startsWith("/watchfree");
}
if (isWatchfreeUrl()) {
var iframevideo = document.getElementsByTagName("iframe")[0].getAttribute("src");
window.location.replace(iframevideo);
} 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