Local-CORS
Allows CORS requests from your localhost to any API by setting 'Access-Control-Allow-Origin: *' header
什么是Local-CORS?
Local-CORS是由Of cors开发的Chrome扩展程序,该扩展的主要功能是“Allows CORS requests from your localhost to any API by setting 'Access-Control-Allow-Origin: *' header”。
扩展截图
下载Local-CORS扩展crx文件
下载Local-CORS扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
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. 扩展基本信息
| 名称 | |
| ID | bhachhlaofmplbfnefenmlnflolelkff |
| 官方URL | https://chromewebstore.google.com/detail/local-cors/bhachhlaofmplbfnefenmlnflolelkff |
| 简介 | Allows CORS requests from your localhost to any API by setting 'Access-Control-Allow-Origin: *' header |
| 文件大小 | 1.58 MB |
| 安装次数 | 3,022 |
| 当前版本 | 0.0.1 |
| 更新时间 | 2019-08-06 |
| 上架时间 | 2019-08-06 |
| 评分 | 1.17/5 共6次评分 |
| 开发者 | Of cors |
| 付费类型 | free |
| 扩展官网 | https://github.com/ncronquist/local-cors |
| 帮助页面URL | https://github.com/ncronquist/local-cors/issues |
| 支持的语言 | en |
| 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"
} | |