Skip to content

groknt/P-Stream-Userscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

P-Stream Userscript

Resources

License

Stars

Watchers

Forks

Contributors