Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 997 Bytes

File metadata and controls

15 lines (9 loc) · 997 Bytes

P-Stream Userscript

Requirements

Install

Click here and your userscript manager will prompt you to install.

Capabilities

  • CORS proxy: Intercepts fetch and XHR requests matching stream manifests (.m3u8, .mpd, .ism) or media files (.mp4, .webm, .mkv, etc.) and routes them through GM_xmlhttpRequest, which ignores same-origin policy.
  • Media element patching: Intercepts src / currentSrc assignment on <video>, <audio>, and <source> elements, fetches the content via the same proxy, and sets a blob URL so the browser plays it natively.
  • Header stripping: Removes content-security-policy and related headers from proxied responses so embedded content loads without CSP blocking.