Commit graph

14 commits

Author SHA1 Message Date
Viktor Barzin
bb44b4e18e
[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
fab25e68ad
[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
c279d453a6
[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
fd7f22d8cc
[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
450dfc28e4
[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
fb816916be
add links to f1 streams for easier mobile navigation [ci skip] 2025-11-30 15:37:45 +00:00
Viktor Barzin
39a88e8b13 add sportxz link to f1 site [ci skip] 2025-05-04 11:25:39 +00:00
Viktor Barzin
2d3bd5b045
add more sites for 1 streaming[ci skip] 2025-03-04 20:19:19 +00:00
Viktor Barzin
9a239f043d
add a few more links to the f1 site [ci skip] 2024-12-24 15:01:58 +00:00
Viktor Barzin
fcb1a3f6ea
add a few more streams to the f1 site [ci skip] 2024-07-06 21:05:53 +00:00
Viktor Barzin
5c88b11ed6
add some more tv links to the f1 site[ci skip] 2024-06-29 11:46:28 +00:00
Viktor Barzin
71481099a8 add vipleage to f1.viktorbarzin.me [ci skip] 2024-04-20 08:39:27 +00:00
Viktor Barzin
67074e9dd0
add latifistreams to f1 site[ci skip] 2023-11-04 16:39:21 +00:00
Viktor Barzin
fce6dc93fe add f1 stie sources [ci skip] 2023-09-24 17:08:40 +00:00