[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:
parent
642e774b62
commit
8562ed1b8f
3 changed files with 47 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue