螢幕截圖
詳細介紹
Modify the response text of Ajax requests
An extension plugin for Chrome that modifies the response of AJAX requests.
🧰 Main features:
1. Intercept and modify the response of XMLHttpRequest and fetch requests, including 404 status requests.
2. Match requests based on regular expressions and HTTP request methods.
3. Edit response results in JSON or JavaScript format, with support for Mock.js syntax.
4. Easily create mock scenarios in JavaScript programming by accessing original request information from the arguments parameter.
5. New U-Network panel in DevTools for quickly intercepting requests and modifying response results.
6. Support change the request URL, request headers and body.
7. Support importing/exporting rule configurations.
8. Support adjusting the order of groups and rules.
9. Support picture-in-picture option for opening the configuration page.
10. Support intercepting network configuration pages using declarativeNetRequest.
⚠️ Notes:
1. After installing the plugin, restart the browser or refresh the relevant pages to ensure normal use.
2. The plugin only modifies the response at the JS level and cannot display the modified result in the Network panel. The plugin prints the modified results to the console, which can be viewed there.
🌟GitHub repository (please star if you find it helpful): https://github.com/PengChen96/ajax-tools
🧰 Main features:
1. Intercept and modify XMLHttpRequest and fetch responses, including requests with a 404 status.
2. Match requests using regular expressions and HTTP request methods.
3. Edit responses in JSON or JavaScript format, including Mock.js syntax.
4. Access original request information from the arguments parameter in JavaScript to easily create mock scenarios.
5. Use the new U-Network panel in DevTools to quickly intercept requests and modify responses.
6. Change request URLs, headers, and bodies.
7. Import and export rule configurations.
8. Adjust the order of groups and rules.
9. Open the configuration page in picture-in-picture mode.
10. Intercept network configuration pages using declarativeNetRequest.
⚠️ Notes:
1. After installation, restart the browser or refresh the relevant pages to ensure the extension works properly.
2. The extension modifies responses only at the JS level, so modified results cannot be viewed in the Network panel. It prints the modified results to the Console, where you can view them.
🌟Github (stars welcome): https://github.com/PengChen96/ajax-tools