{"id":15356670,"url":"https://github.com/lisonge/disable-csp","last_synced_at":"2025-04-13T00:21:33.654Z","repository":{"id":182540060,"uuid":"668609893","full_name":"lisonge/Disable-CSP","owner":"lisonge","description":"A browser extension to disable http header Content-Security-Policy and html meta Content-Security-Policy","archived":false,"fork":false,"pushed_at":"2024-06-04T04:00:51.000Z","size":105,"stargazers_count":62,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T18:12:30.042Z","etag":null,"topics":["chrome","chrome-extension","content-security-policy","csp","edge","edge-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lisonge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-20T07:55:57.000Z","updated_at":"2025-03-25T13:03:34.000Z","dependencies_parsed_at":"2023-12-26T04:38:18.242Z","dependency_job_id":"e06bce3c-c32e-4f40-a371-be49d1a6f62a","html_url":"https://github.com/lisonge/Disable-CSP","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"310d3d1dc920e7ccdc980ea413ca899f4d728fe9"},"previous_names":["lisonge/disable-csp"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lisonge%2FDisable-CSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lisonge%2FDisable-CSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lisonge%2FDisable-CSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lisonge%2FDisable-CSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lisonge","download_url":"https://codeload.github.com/lisonge/Disable-CSP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248648276,"owners_count":21139265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","chrome-extension","content-security-policy","csp","edge","edge-extension"],"created_at":"2024-10-01T12:29:32.578Z","updated_at":"2025-04-13T00:21:33.628Z","avatar_url":"https://github.com/lisonge.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disable-CSP\n\nA browser extension to disable http header Content-Security-Policy and html meta Content-Security-Policy\n\nIn the process of website development and testing, we inevitably need to inject cross-domain resources into some websites, but Content-Security-Policy prevents this. So you can use this extension to disable Content-Security-Policy so that you have a better development experience\n\n- disable http header csp\n- disable html meta csp (**must open devtools**)\n\n![image](https://github.com/lisonge/Disable-CSP/assets/38517192/530218b5-2183-4c5a-9801-315fdadd6f93)\n\n## Install\n\n- [releases](https://github.com/lisonge/Disable-CSP/releases)\n- [chrome webstore](https://chrome.google.com/webstore/detail/disable-csp/hgegihapiofjgmmgigbblnjaicgjhoko)\n- [edge addons](https://microsoftedge.microsoft.com/addons/detail/disablecsp/kleofklkancfimlfjhkjegnljkpjafcc)\n\n## Sample\n\n\u003cdetails open\u003e\n  \u003csummary\u003ehttp header csp\u003c/summary\u003e\n\n![image](https://github.com/lisonge/Disable-CSP/assets/38517192/08a00a09-873d-4044-a4b4-f7abb7018734)\n\n\u003c/details\u003e\n\n\u003cdetails open\u003e\n  \u003csummary\u003edisable http header csp \u003c/summary\u003e\n\n![image](https://github.com/lisonge/Disable-CSP/assets/38517192/d5bf1e81-5482-4479-a8ed-17df47a5643c)\n\n\u003c/details\u003e\n\n\u003cdetails open\u003e\n  \u003csummary\u003ehtml meta csp\u003c/summary\u003e\n\n![image](https://github.com/lisonge/Disable-CSP/assets/38517192/cc223640-6e8e-4935-b356-828e1c0de75e)\n\n\u003c/details\u003e\n\n\u003cdetails open\u003e\n  \u003csummary\u003edisable html meta csp (**must open devtools**)\u003c/summary\u003e\n\n![image](https://github.com/lisonge/Disable-CSP/assets/38517192/18486f78-101c-4964-9de4-2a2a91387708)\n\n\u003c/details\u003e\n\n## Permission Specification\n\n1.declarativeNetRequest: disable http header Content-Security-Policy, remove response headers\n\n2.debugger: disable http meta Content-Security-Policy, attach devtools then modify http response body\n\n3.storage: save disable/enable csp user config\n\n4.tabs: disable http meta Content-Security-Policy, attach the current tabId of devtools then modify http response body\n\n5.host_permissions\u003call_urls\u003e: disable the Content-Security-Policy of any host\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flisonge%2Fdisable-csp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flisonge%2Fdisable-csp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flisonge%2Fdisable-csp/lists"}