Forked from antwal/maxstream-video-bypass.user.js
Last active
April 26, 2025 20:49
-
-
Save ngi/99134b4bc1f97ff87a7fa8be3b573514 to your computer and use it in GitHub Desktop.
Video Bypass (maxs19.fun, maxstream.video)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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); | |
}; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
updated script