This extension helps web masters to test web application behaviour with Content Security Policy version 2.0 implemented.
CSP Tester Extension
This extension helps web masters to test web application functionality
with Content Security Policy (CSP) version 2.0 implemented.
Typical workflow looks like:
1. Open the extension window
2. Add into the URL Pattern a regular expression for the site that you want to test, for example *://yoursite.com/* (CSP Tester uses Chrome Match Patterns)
3. Tick the e.g. \"self\" checkbox, check \"Active\" and Save the changes
4. Open the Developer Tools and navigate to the tested site
5. Confirm a number of CSP violations reported in the Developer Tools Console as well as possible visual changes
6. Make changes in the policy based on these reports
Read more
with Content Security Policy (CSP) version 2.0 implemented.
Typical workflow looks like:
1. Open the extension window
2. Add into the URL Pattern a regular expression for the site that you want to test, for example *://yoursite.com/* (CSP Tester uses Chrome Match Patterns)
3. Tick the e.g. \"self\" checkbox, check \"Active\" and Save the changes
4. Open the Developer Tools and navigate to the tested site
5. Confirm a number of CSP violations reported in the Developer Tools Console as well as possible visual changes
6. Make changes in the policy based on these reports
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "CSP Tester", "description": "This extension helps web masters to test web application behaviour with Content Security Policy version 2.0 implemented.", "version": "2.1", "permissions": [ "webRequest", "webRequestBlocking", "" ], "browser_action": { "default_icon": "icon16.png", "default_popup": "popup.html" }, "background": { "scripts": ["background.js"], "persistent": true }, "homepage_url": "https://oxdef.info/csp-tester", "applications": { "gecko": { "id": "[email protected]", "strict_min_version": "45.0" } }}
Read more