P-Stream Userscript

A P-Stream compatible userscript

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
groknt
今日安裝
0
安裝總數
31
評價
0 0 0
版本
2.0.2
建立日期
2025-12-16
更新日期
2026-05-06
尺寸
20.0 KB
授權條款
MIT
腳本執行於

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.