当任何XHR或fetch请求返回非2xx状态码时弹窗提醒,便于接口调试和问题排查。
当前为
Title: XHR/Fetch Error Notifier
Description: This userscript automatically notifies you via popup alerts when any XHR (XMLHttpRequest) or fetch request on any website returns a non-2xx HTTP status code (e.g., 4xx, 5xx), making it easier to detect and troubleshoot API/network errors during development or testing.
Features:
Typical use cases:
How to use:
Note:If you prefer system notifications instead of alert popups, you can edit the script to use the Notification API.