To modify ajax responses on any page
Ajax Modifier Extension
1. It is recommended to turn off this extension(the icon should be gray) when you are not using it.
2. This extension only overrides the response data in the XMLHTTPRequest object as well as the fetch method. The original response which you can see in DevTools' \"Network\" panel will not be modified.
github: https://github.com/YGYOOO/ajax-interceptor
你可以用该插件修改页面上Ajax请求的返回结果。
注意:
1. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
2. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。
github地址(欢迎star~):
https://github.com/YGYOOO/ajax-interceptor
Read more
2. This extension only overrides the response data in the XMLHTTPRequest object as well as the fetch method. The original response which you can see in DevTools' \"Network\" panel will not be modified.
github: https://github.com/YGYOOO/ajax-interceptor
你可以用该插件修改页面上Ajax请求的返回结果。
注意:
1. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
2. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。
github地址(欢迎star~):
https://github.com/YGYOOO/ajax-interceptor
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Ajax Modifier", "version": "1.5.8", "description": "To modify ajax responses on any page", "permissions": [ "storage", "scripting" ], "background": { "service_worker": "service_worker.js" }, "icons": { "16": "images/16_gray.png", "32": "images/32_gray.png", "48": "images/48.png", "128": "images/128.png" }, "manifest_version": 3, "web_accessible_resources": [ { "resources": [ "pageScripts/defaultSettings.js", "pageScripts/main.js", "iframe/index.html" ], "matches": [ "" ] } ], "action": {}, "content_security_policy": {}, "host_permissions": [ "http://*/", "https://*/" ], "devtools_page": "devtools.html"}
Read more