Commit graph

14 commits

Author SHA1 Message Date
Viktor Barzin
ce31571a9f [ci skip] Fix JS shim rw() routing non-proxy paths through proxy prefix
When upstream JS constructs URLs via location.origin + '/path', the rw()
function stripped the origin but returned bare '/path' which hit our
server's HTML index. Now correctly prefixes with /proxy/{b64origin} so
XHR/fetch requests for scripts reach the upstream via proxy.
Bump image to v1.2.7
2026-02-21 23:16:09 +00:00
Viktor Barzin
8562ed1b8f [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
2026-02-21 23:12:11 +00:00
Viktor Barzin
fc0e1c3c6e [ci skip] Fix narrow iframe content and strip anti-debug scripts in proxy
- Remove flex centering from browser-viewer-content; use absolute positioning
  for iframe to fill the entire container
- Strip disable-devtool and devtools-detect script tags from proxied HTML
- Add JS shim hooks to neutralize setInterval-based debugger traps and block
  loading of anti-debug scripts via setAttribute
- Bump image to v1.2.5
2026-02-21 21:32:39 +00:00
Viktor Barzin
0c2c48802f [ci skip] Sandbox proxy iframe to prevent frame-busting
Add sandbox attribute to prevent proxied pages from navigating
top.location or replacing the parent page body. Allows scripts,
same-origin, forms, popups, and presentation but blocks
top-navigation.
2026-02-21 21:25:51 +00:00
Viktor Barzin
7a444b43fa [ci skip] Add reverse proxy mode to f1-stream
Replace CPU-intensive headless Chrome + WebRTC pipeline with a
lightweight Go reverse proxy that strips anti-framing headers
(X-Frame-Options, CSP) and embeds streaming sites in iframes.

- New internal/proxy package with URL rewriting for HTML/CSS
- JS shim injection to intercept fetch/XHR/WebSocket/createElement
- Referer reconstruction for correct cross-origin auth (HLS streams)
- Inline iframe viewer preserving site navigation (not fullscreen overlay)
2026-02-21 21:23:21 +00:00
Viktor Barzin
c282b58595 add links to f1 streams for easier mobile navigation [ci skip] 2025-11-30 15:37:45 +00:00
Viktor Barzin
b6e4d91413 add sportxz link to f1 site [ci skip] 2025-05-04 11:25:39 +00:00
Viktor Barzin
f9f9863135 add more sites for 1 streaming[ci skip] 2025-03-04 20:19:19 +00:00
Viktor Barzin
c5e242b1ed add a few more links to the f1 site [ci skip] 2024-12-24 15:01:58 +00:00
Viktor Barzin
b77807f8ae add a few more streams to the f1 site [ci skip] 2024-07-06 21:05:53 +00:00
Viktor Barzin
ca18d36566 add some more tv links to the f1 site[ci skip] 2024-06-29 11:46:28 +00:00
Viktor Barzin
94f3462d8d add vipleage to f1.viktorbarzin.me [ci skip] 2024-04-20 08:39:27 +00:00
Viktor Barzin
934b625f9f add latifistreams to f1 site[ci skip] 2023-11-04 16:39:21 +00:00
Viktor Barzin
c8642a4e0a add f1 stie sources [ci skip] 2023-09-24 17:08:40 +00:00