CSP for Me by yobukodori
ExperimentalExperimental
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でも機能します
You'll need Firefox to use this extension
Extension Metadata
Screenshots
About this extension
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.
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.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access your data for all websites
More information
- Add-on Links
- Version
- 0.3.8
- Size
- 28.19 KB
- Last updated
- 9 months ago (Mar 9, 2024)
- Related Categories
- License
- Mozilla Public License 2.0
- Privacy Policy
- Read the privacy policy for this add-on
- Version History
Add to collection
More extensions by yobukodori
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet