[ci skip] Fix video playback and comprehensive anti-debug neutralization

Video:
- Add allow="autoplay; encrypted-media; fullscreen" to iframe for media playback

Anti-debug:
- Strip ad/popup scripts (acscdn, popunder) and context menu blockers from HTML
- Strip debugger statements from inline HTML scripts and proxied JS responses
- Intercept setTimeout (not just setInterval) for debugger-based detection
- Override eval() and Function() constructor to strip debugger statements
- Bump image to v1.2.6
This commit is contained in:
Viktor Barzin 2026-02-21 23:12:11 +00:00
parent 642e774b62
commit 8562ed1b8f
3 changed files with 47 additions and 2 deletions

View file

@ -367,6 +367,7 @@ function openBrowserSession(streamId, streamTitle, streamURL) {
iframe.src = proxyURL;
iframe.className = 'browser-iframe';
iframe.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation');
iframe.setAttribute('allow', 'autoplay; encrypted-media; fullscreen');
iframe.setAttribute('allowfullscreen', '');
iframe.onload = function() {
loader.classList.add('hidden');