Firefox 浏览器附加组件
登录
CSP for Me 预览

CSP for Me 作者: yobukodori

Adds/Removes directive or directive-value to/from the existing CSP(content-security-policy) header in HTTP response. Works on Android as well as on PC. HTTPレスポンスの既存のCSPヘッダにディレクティブあるいはディレクティブ値を追加/削除する拡張機能。Androidでも機能します

实验性实验性
5 (3 reviews)5 (3 reviews)
37 个用户37 个用户
您需要 Firefox 来使用此扩展
下载 Firefox
下载文件

扩展元数据

屏幕截图
关于此扩展
Adds/Removes directive or directive-value to the existing CSP(content-security-policy) header in HTTP response. Works on Android as well as on PC.

Usage
See the screenshot.
  • Enable at startup: Enable this feature when the browser is started.
  • Print debug info: Output debug information at the bottom of the Options tab.
  • no-cache: Controls the Cache-Control header so that CSP-modified pages are not cached.
  • Theme: Select a color theme for the settings page. As soon as you select a theme, it will be reflected in the settings page, but only temporarily. Apply or Save as needed.
  • Applied URLs: Comma-Separated target URL patterns.
  • Applied Policy: CSP directives to add or remove.
    Add: Follow the CSP syntax.
    e.g. script-src 'unsafe-inline' https://yobukodori.github.io

    Remove: 'remove':<value> or <regular expression> or 'directive'
    e.g. script-src 'remove':https://www.google-analytics.com 'remove':/^'(nonce|sha256|sha384|sha512)-/; report-uri 'remove':'directive'

    Remove CSP header itself: When no-csp is written as an original directive, the CSP header itself is deleted.
    e.g. no-csp

    Adds new value to end of existing value if same directive name exists.
    Adds new directive to end of header value if same directive name not exists.
    Does nothing if CSP header doesn't exist in response.
  • Save: Save and apply settings.
  • Apply: Apply settings. (doesn't save settings).
  • Get Status: get current status and applied settings.
  • On enables this feature. Off disables this feature. Or clicking lock icon in toolbar will bring up a pop-up menu where you can turn it on/off and open the settings page.
  • Clear Log: Clear log.
  • Export Settings: Export settings to the file. It is the currently applied settings that are exported, not the saved settings.
  • Import Settings: Import and apply settings from the file. Do not save.
If CSP for Me doesn't work, reload the page several times. The browser may be loading the cache of the page before CSP modification.
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
3
4
0
3
0
2
0
1
0
阅读全部 3 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 用户支持网站
版本
0.3.8
大小
28.19 KB
上次更新
1 年前 (2024年3月9日)
相关分类
  • 网页开发
许可证
Mozilla 公共许可证 2.0
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
yobukodori 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。