P-Stream Userscript

A P-Stream compatible userscript

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.