轻混合里面的replace.txt文件制作教程 ### **准备资料** 1、网站以变色龙云官网为例 2、谷歌浏览器(chrome) ### **制作更换规则** 谷歌浏览器菜单中选择 更多工具,开发者工具 ![](http://h-img.bslyun.com/b80cc7a9ce528f91136af877d71e5e17) 想更换以下几个资源 ![](http://h-img.bslyun.com/5fd422d4d292d7b03943822503154a5d) 右键复制地址 ![](http://h-img.bslyun.com/a5ee3819d7ec55addf9bab8106182225) https://www.bslyun.com/wap/Tpl/main/bsl/css/style.css https://www.bslyun.com/wap/Tpl/main/bsl/css/mui.min.css https://www.bslyun.com/wap/Tpl/main/bsl/css/site.css https://www.bslyun.com/wap/Tpl/main/bsl/js/jquery-3.0.0.min.js replace.txt文件填写 ``` { "/wap/Tpl/main/bsl/css/style.css":"img/ua.png", "/Tpl/main/bsl/css/mui.min.css":"css/style.css", "/Tpl/main/bsl/css/site.css":"index.js", "/Tpl/main/bsl/js/jquery-3.0.0.min.js":"app.js", } ``` 更换文件存放在文件的根目录 ![](http://h-img.bslyun.com/4498556e5d65d089baafab7570fd8496) 填写更换规则后的replace.txt文件 ``` { "/wap/Tpl/main/bsl/css/style.css":"style.css", "/Tpl/main/bsl/css/mui.min.css":"mui.min.css", "/Tpl/main/bsl/css/site.css":"site.css", "/Tpl/main/bsl/js/jquery-3.0.0.min.js":"jquery-3.0.0.min.js", } ``` 文件与replace.txt内容 ![](http://h-img.bslyun.com/e70ae92551b798ed9e8c06f5ae5aeeb8)