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”。

擴展截圖

screenshot

下載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.                    

擴展基本資訊

名稱 Local-CORS Local-CORS
ID bhachhlaofmplbfnefenmlnflolelkff
官方網址 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"
}