Allows CORS requests from your localhost to any API by setting 'Access-Control-Allow-Origin: *' header

Latest Version

Version
0.0.1
Update
August 6, 2019
Size
1.58MiB
Developer
Category
Users
2,000+
Rating
1.14286 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
WebRequest
WebRequestBlocking
Http://localhost*
Https://localhost*
Http://127.0.0.1*
Https://127.0.0.1*
See more

Local-CORS Extension

This extension is meant to be used by web developers who need to test UI changes from their local machines against a remote API that doesn't allow localhost CORS requests.

Make sure you understand how CORS works (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) before enabling this extension. As a best practice, you should lock down the intercepted URL pattern to only the API you are actually trying to test.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "version": "0.0.1", "manifest_version": 2, "description": "__MSG_appDescription__", "default_locale": "en", "background": { "scripts": [ "js/background.js" ] }, "browser_action": { "default_icon": "images/off.png", "default_title": "__MSG_appName__", "default_popup": "popup.html" }, "icons": { "16": "images/icon16.png", "32": "images/icon32.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "permissions": [ "storage", "webRequest", "webRequestBlocking", "http://localhost*", "https://localhost*", "http://127.0.0.1*", "https://127.0.0.1*" ], "web_accessible_resources": [ "images/on.png", "images/off.png" ], "options_page": "options.html"}
Read more