This's a devtools extension to introduce delay or blocking for http requests, based on configuration of URL patterns and delay time

Latest Version

Version
1.0.1
Update
November 16, 2021
Size
49.92KiB
Developer
Category
Users
307
Rating
2.66667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
*://*/*
WebRequestBlocking
See more

HTTP Request Blocker and Delayer Extension

It provides a clean UI to config URL patterns, delay time setting and options of selecting delay or blocking HTTP requests. The delaying-request feature is particularly useful that can buy you time to debug/observe your app's behavior, by indirectly influencing various responses' sequence. This can be helpful in testing, eg. to detect potential race condition issue that might results from particular dependencies' sequence.

一个开发者工具插件,可以配置API URL列表,仅对配置的URL,进行请求延时或阻止。通过引入延时,间接影响响应的返回时序,辅助前端开发调试,辅助检测某些复杂逻辑在处理多并行请求时潜在的缺陷(例如竞态问题)。

Open source:
https://github.com/gaoqing/network-spinner-devtool
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "author": "Liang Shaozhan", "name": "HTTP Request Blocker and Delayer", "description": "This's a devtools extension to introduce delay or blocking for http requests, based on configuration of URL patterns and delay time", "version": "1.0.1", "icons": { "16": "logo.png" }, "background": { "scripts": ["background.js"] }, "permissions": [ "webRequest", "*://*/*", "webRequestBlocking" ], "devtools_page": "devtoolpage.html"}
Read more