xswitch:用于重定向请求网址的Chrome扩展程序-源码

上传者: 42097533 | 上传时间: 2021-01-29 23:08:37 | 文件大小: 2.55MB | 文件类型: ZIP
XSwitch的 一个用来做请求链接转发的,因为采用的是浏览器原生API ,安全性和性能能得到保障。 功能 请求地址转发 整体插件启用开关 可替代浏览器缓存 采用以支持在转发规则中写注释 可以使用摩纳哥编辑器(VSCode)中的部分快捷键,比如通过⌘K ⌘F组合键可以实现格式化JSON的功能 自动补全 支持CORS,支持凭证 跨域和缓存分区键(快捷单击浏览器工具栏的XSwitch插件图标-设置) 分组规则 用法 所有的规则,会按照定义的顺序从前往后执行,直到匹配到了规则,也会继续往下匹配,直到最后一条启用的规则。 小提示:把HTTPS的链接转发到http://127.0.0.1下,浏览器不会出安全提示。习惯用localhost的同学,可以尝试下这个。 { // 转发规则 "proxy" : [ [ "//alinw.alicdn.com/platform/daily-test/isDaily.js" , // 匹配 URL "//alinw.alicdn.com/platform/daily-test/isDaily.json" // 替换成这

文件下载

资源详情

[{"title":"( 74 个子文件 2.55MB ) xswitch:用于重定向请求网址的Chrome扩展程序-源码","children":[{"title":"xswitch-master","children":[{"title":".travis.yml <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"grey_128.png <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"blue_128.png <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"__tests__","children":[{"title":"parse.spec.ts <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"index.spec.ts <span style='color:#111;'> 16.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"options.html <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"XSwitch.html <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"xswitch.sketch <span style='color:#111;'> 80.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"manifest.json <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"LICENCE.md <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"pub.sh <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"window.d.ts <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"editor-config.ts <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"utils.ts <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"strip-json-comments.ts <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"background.ts <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"enums.ts <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"bootstrap.ts <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"xswitch","children":[{"title":"xswitch.less <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"xswitch.vx <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"xswitch.ts <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"options","children":[{"title":"options.ts <span style='color:#111;'> 934B </span>","children":null,"spread":false},{"title":"options.less <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"options.vx <span style='color:#111;'> 259B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"router.ts <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"forward.ts <span style='color:#111;'> 6.35KB </span>","children":null,"spread":false},{"title":"chrome-storage.ts <span style='color:#111;'> 9.06KB </span>","children":null,"spread":false},{"title":"constants.ts <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false}],"spread":false},{"title":".npmignore <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"recore.config.js <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 740B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"monaco-editor","children":[{"title":"min","children":[{"title":"vs","children":[{"title":"base","children":[{"title":"worker","children":[{"title":"workerMain.js <span style='color:#111;'> 130.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"editor","children":[{"title":"editor.main.css <span style='color:#111;'> 210.98KB </span>","children":null,"spread":false},{"title":"editor.main.js <span style='color:#111;'> 1.81MB </span>","children":null,"spread":false},{"title":"editor.main.nls.js <span style='color:#111;'> 30.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"loader.js <span style='color:#111;'> 27.90KB </span>","children":null,"spread":false},{"title":"language","children":[{"title":"json","children":[{"title":"jsonMode.js <span style='color:#111;'> 43.18KB </span>","children":null,"spread":false},{"title":"jsonWorker.js <span style='color:#111;'> 108.17KB </span>","children":null,"spread":false},{"title":"monaco.contribution.js <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"recore","children":[{"title":"recore.umd.min.js <span style='color:#111;'> 124.48KB </span>","children":null,"spread":false},{"title":"recore.umd.js.map <span style='color:#111;'> 631.82KB </span>","children":null,"spread":false},{"title":"recore.umd.js <span style='color:#111;'> 448.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"react","children":[{"title":"react-bundle.js <span style='color:#111;'> 103.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"readme.en_US.md <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"images","children":[{"title":"grey_128.png <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"blue_128.png <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"background.min.js <span style='color:#111;'> 50.24KB </span>","children":null,"spread":false},{"title":"options.html <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"XSwitch.html <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"manifest.json <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"app.min.css <span style='color:#111;'> 118.86KB </span>","children":null,"spread":false},{"title":"app.min.js.map <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false},{"title":"background.min.js.map <span style='color:#111;'> 58.36KB </span>","children":null,"spread":false},{"title":"app.min.js <span style='color:#111;'> 1.10MB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"monaco-editor","children":[{"title":"min","children":[{"title":"vs","children":[{"title":"base","children":[{"title":"worker","children":[{"title":"workerMain.js <span style='color:#111;'> 130.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"editor","children":[{"title":"editor.main.css <span style='color:#111;'> 210.98KB </span>","children":null,"spread":false},{"title":"editor.main.js <span style='color:#111;'> 1.81MB </span>","children":null,"spread":false},{"title":"editor.main.nls.js <span style='color:#111;'> 30.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"loader.js <span style='color:#111;'> 27.90KB </span>","children":null,"spread":false},{"title":"language","children":[{"title":"json","children":[{"title":"jsonMode.js <span style='color:#111;'> 43.18KB </span>","children":null,"spread":false},{"title":"jsonWorker.js <span style='color:#111;'> 108.17KB </span>","children":null,"spread":false},{"title":"monaco.contribution.js <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"recore","children":[{"title":"recore.umd.min.js <span style='color:#111;'> 124.48KB </span>","children":null,"spread":false},{"title":"recore.umd.js.map <span style='color:#111;'> 631.82KB </span>","children":null,"spread":false},{"title":"recore.umd.js <span style='color:#111;'> 448.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"react","children":[{"title":"react-bundle.js <span style='color:#111;'> 103.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"tasks.json <span style='color:#111;'> 624B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明