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)
34 Users34 Users
必須使用 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.
由 1 位評論者給出 5 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
3
4
0
3
0
2
0
1
0
閱讀全部 3 條評論
權限與資料了解更多

必要權限:

  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 技術支援網站
版本
0.3.8
大小
28.19 KB
最近更新
1 年前 (2024年3月9日)
相關分類
  • 網頁開發
授權條款
Mozilla Public License 2.0
隱私權保護政策
閱讀此附加元件的隱私權保護政策
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
yobukodori 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。