Overview
Turn cross-origin requests on or off in Chrome with one click.
**CORS Toggle** is a minimal, privacy-focused Chrome extension that lets you enable or disable Cross-Origin Resource Sharing (CORS) restrictions with a single click on the toolbar icon. ### Why CORS Toggle? When developing or testing web applications, you often need to fetch data from APIs that don't send the proper CORS headers. Browsers block these requests by default. CORS Toggle solves this by injecting the necessary `Access-Control-Allow-*` headers into responses, allowing your frontend to read cross-origin responses. ### Key Features - **One-click toggle** — Click the toolbar icon to turn CORS on or off instantly - **Visual feedback** — Icon changes from faded (off) to colored (on); badge shows "!" if something went wrong - **Options page** — Right-click the icon → Options to see a clear explanation of CORS, usage instructions, and important limitations - **Zero tracking** — No analytics, no data collection, no external connections. Works entirely offline - **Minimal permissions** — Only uses `declarativeNetRequestWithHostAccess` and `storage` - **Manifest V3** — Built with modern Chrome extension architecture - **Open source** — Transparent, auditable code ### How It Works The extension uses Chrome's `declarativeNetRequest` API with a static ruleset that modifies response headers. When enabled, it adds: - `Access-Control-Allow-Origin: *` - `Access-Control-Allow-Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS` - `Access-Control-Allow-Headers: *, Authorization` - `Access-Control-Expose-Headers: *` The ruleset excludes responses that already have `access-control-allow-credentials`, preserving server intent for credentialed requests. ### Important Limitations ⚠ **Turn it off when you finish.** While enabled, this applies to ALL sites. Any page you visit can read responses from other origins that don't require authentication — including services on your local network (routers, printers, IoT devices). **What it cannot do:** - Requests with cookies or other credentials still fail (unless the server already allows them) - Preflight (OPTIONS) requests fail if the server doesn't return a success status - Content Security Policy and other browser security rules still apply ### Perfect For - Frontend developers testing against APIs without CORS headers - Debugging cross-origin fetch/XHR requests - Quick prototyping with public APIs - Learning how CORS works in practice ### Privacy This extension does not collect, transmit, or store any personal data. It only stores a single boolean (on/off) in your local Chrome storage. See the full privacy policy for details.
0 out of 5No ratings
Details
- Version1.0.0
- UpdatedNovember 14, 2026
- Size20.57KiB
- LanguagesEnglish
- DeveloperAshvini Kumar JangidWebsite
F-3, Second Floor, Kpg Prime -1 Apollo Pharmacy, Plot No. 160, Doctors Colony Jaipur, Rajasthan 302021 INEmail
ASHVINIJANGID@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser