yize / xswitch

A Chrome Extension for redirecting/forwarding request urls
https://chrome.google.com/webstore/detail/xswitch/idkjhjggpffolpidfkikidcokdkdaogg
MIT License
992 stars 121 forks source link

Breaking the CORS Limitation #19

Closed suikaxin closed 6 years ago

suikaxin commented 6 years ago

Xswitch 非常给力 但是有些中后台项目的api并不支持CORS 代理,会被chrome拦截, 通过监听onHeadersReceived事件对header做相应的配置修改可以达到目的。

coveralls commented 6 years ago

Coverage Status

Coverage increased (+2.2%) to 84.571% when pulling 81f707ff13d8e7bb979161f1f0baefff4314e51d on suikaxin:master into 6efd3821fb5b07603118c1ed9b75b8fea7362623 on yize:master.

yize commented 6 years ago

@suikaxin 👍 能否帮忙补充下测试覆盖率

yize commented 6 years ago

readme 里也可以补充下这次新增的功能。