Skip to content

suikaxin/xswitch

 
 

Repository files navigation

XSwitch

Chrome version Chrome version Build Status Coverage Status license

A Chrome Extension for forwarding request urls.

Features

  • Redirect request.url
  • Global switch control
  • Disable browser cache
  • JSON comments
  • Rule suggestions

Usage

更多说明:#9

{
  // proxyRules
  "proxy": [
    [
      "//alinw.alicdn.com/platform/daily-test/isDaily.js",
      "//alinw.alicdn.com/platform/daily-test/isDaily.json"
    ],
    [
      "alinw.alicdn.com",
      "g.alicdn.com"
    ],
    [
      // "(.*)/platform/daily-test/(.*).js$",
      // "http://127.0.0.1:3000/daily-test/$1.js"
    ]
  ]
}

License

MIT © yize.shc

Packages

No packages published

Languages

  • JavaScript 89.1%
  • CSS 8.1%
  • HTML 2.8%