- Download and install Fiddler if you are on windows.
- Enable it to catch http traffic [IE/Chrome does it by default, Firefox - enable it through the add on it installs]
- Load up the page in question.
- Find the file you want to replace in the http traffic list on the left and click on it.
- On the right there is an AutoResponder tab. click on it.
- Click on the checkbox to "enable automatic responses"
- Click Add.. button
- The 2nd dropdown on right, choose the option that says "find a file"
- Locate the file in the dialog and click save
- Repeat steps 4-9 until you replace all the files you want to replace
- Refresh the browser window and your new js files are running
在网页加载时替换JS文件
最新推荐文章于 2024-08-03 15:02:57 发布