Tagged articles

request interception

6 articles · Page 1 of 1
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Apr 2, 2026 · Mobile Development

HarmonyOS 6: Building Controllable Request Interception for AI Apps Amid Trust Crisis

Triggered by the APIfox supply-chain attack, this article details HarmonyOS 6's three-layer request interception (onLoadIntercept, onInterceptRequest, WebSchemeHandler) with code examples for whitelist enforcement, resource substitution, audit logging, and AI-specific filters against prompt injection and data leakage.

AI securityArkWebAudit Logging
0 likes · 22 min read
HarmonyOS 6: Building Controllable Request Interception for AI Apps Amid Trust Crisis
大转转FE
大转转FE
Feb 5, 2026 · Frontend Development

How to Build a Low‑Intrusion, AI‑Powered Mock Server for Frontend Development

This article presents a comprehensive mock‑data tool for front‑end/back‑end separation that solves request interception, flexible rule matching, business‑semantic data generation via AI, and team‑wide sharing, detailing its architecture, core implementations, code snippets, usage workflow, and future roadmap.

Mockfrontendrequest interception
0 likes · 19 min read
How to Build a Low‑Intrusion, AI‑Powered Mock Server for Frontend Development
DeWu Technology
DeWu Technology
Sep 22, 2025 · Frontend Development

How to Build a Chrome Mock Extension with Manifest V3 for API Interception

This article walks through the design and implementation of a Chrome extension that mocks API responses by intercepting network requests using Manifest V3, covering architecture differences, core configuration, request‑blocking techniques, script injection, project structure, rule creation, whitelist management, and future enhancements.

API mockingBrowser extensionChrome extension
0 likes · 10 min read
How to Build a Chrome Mock Extension with Manifest V3 for API Interception
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 13, 2024 · Frontend Development

Traffic Hijacking and Request Interception Techniques for Unified Authentication Platforms

This article explores the concept of traffic hijacking, compares front‑end and back‑end interception methods, and provides practical proxy‑based implementations for fetch, XMLHttpRequest, and ReadableStream to achieve seamless request and response manipulation in a unified authentication system.

BackendProxyTraffic Hijacking
0 likes · 16 min read
Traffic Hijacking and Request Interception Techniques for Unified Authentication Platforms
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 28, 2021 · Mobile Development

iOS WKWebView Request Interception via WKURLSchemeHandler and JavaScript Injection

By combining WKURLSchemeHandler with injected JavaScript that captures request bodies, forwards them via WKScriptMessageHandler, and synchronizes cookies and redirects, this approach overcomes iOS WKWebView’s native limitations, offering a stable, per‑webview interception method superior to NSURLProtocol for offline‑package loading.

JavaScript InjectionWKURLSchemeHandlerWKWebView
0 likes · 18 min read
iOS WKWebView Request Interception via WKURLSchemeHandler and JavaScript Injection