20 个仓库
Capturing and modifying HTTP requests and responses within a simulated browser environment.
Distinct from Network Request Interception: The candidates focus on media downloaders or system-level traffic analysis; this is specifically for browser emulation within web development.
Explore 20 awesome GitHub repositories matching web development · Network Request Interception. Refine with filters or upvote what's useful.
jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a JavaScript execution environment and an HTML and XML parser to simulate a browser environment on the server side, implementing various web APIs and W3C standards. The project distinguishes itself by providing a sandboxed runtime for executing scripts embedded in HTML or external files. It includes specialized polyfills for the Canvas API and manages session state through HTTP cookie management. Its broader capabilities cover network interaction via request interception and resource
Provides the ability to capture, modify, or mock network calls to control interactions with remote servers during emulation.
Mock is a JavaScript API mocking tool and network request interceptor designed to decouple front-end development from back-end progress. It functions as an API simulation tool and mock data generator, allowing developers to build user interfaces and high-fidelity prototypes by mimicking the request and response cycle without a live server. The system provides a mechanism for intercepting outgoing HTTP calls and returning simulated data. It enables front-end prototyping by generating synthetic datasets to validate application behavior during automated testing cycles and development. Capabilit
Overwrites browser network request objects to capture calls and return simulated responses without a server.
Medium Unlimited 是一个浏览器扩展和 Web 内容解锁器,旨在移除发布平台上的会员限制和订阅限制。它作为一个基于浏览器的文章解锁器,允许阅读跨多个域名的付费内容。 该工具利用搜索引擎集成来识别文章的存档或镜像版本,并自动重定向到全文链接。它将这些重定向与在原始文章被锁定时定位外部发布者内容的能力相结合。 该项目通过文档对象模型(DOM)操作隐藏会员覆盖层,并通过修改请求头来模拟搜索引擎爬虫,从而实现内容访问。它采用基于模式的域名和 URL 匹配来触发这些绕过工作流。
Intercepts and alters network requests before they leave the browser to trick servers into serving unrestricted content.
react-snap 是一个静态站点生成器和单页应用预渲染器。它使用无头浏览器将动态客户端组件转换为静态 HTML 文件,以提高搜索引擎优化(SEO)和初始加载速度。 该项目具有一个无头浏览器爬虫,可以通过跟踪内部链接自动发现应用路由。它包含一个水合(hydration)优化器,可以在渲染过程中捕获应用状态并缓存网络响应,直接将其嵌入到 HTML 中,从而在不重新获取数据的情况下同步客户端应用。 该工具提供了一套性能优化方案,包括关键 CSS 内联、异步脚本加载以及资源清单和预加载头的生成。它还支持跨并发浏览器标签页的并行渲染执行,并可以阻止第三方请求,以防止外部脚本在构建过程中触发。
Intercepts network traffic during rendering to cache responses and embed them as state for seamless client rehydration.
WebContainer 是一个基于浏览器的运行时环境,旨在直接在 Web 标签页中执行服务端代码、操作系统命令和全栈开发工具链。它通过模拟运行时环境,消除了本地安装或远程虚拟机的需求,为云端 IDE 和零安装开发工作流提供了基础设施。 该系统利用 WebAssembly 映射系统调用,并实现了虚拟 POSIX 兼容文件系统和网络拦截层。这使得运行时能够生成命令行进程、执行 Shell 命令,并将内部服务器请求路由到浏览器可访问的 URL,从而实现 Web 应用的实时预览。 该平台还包括管理虚拟文件系统操作、监控文件变更以及通过单点登录(SSO)和身份验证集成私有包仓库的功能。它可以部署在本地或私有云基础设施中,确保执行过程处于企业防火墙之内。
Captures requests from internal servers and routes them to a browser-accessible URL for live previewing.
此项目是一个 Webpack 插件,它实现了一个 Service Worker 来管理用于离线访问的 Web 资产。它作为一个缓存工具,确保 Web 应用程序在无法连接互联网时仍能保持功能和可访问性。 该工具通过直接集成到 Webpack 构建过程中,自动化了创建渐进式 Web 应用程序的过程。它生成必要的 Service Worker 配置并管理静态文件的本地存储,以维持应用程序的可用性。 该系统处理资产缓存和缓存管理,利用基于清单的方法来确定存储哪些资源。它包括请求拦截和版本控制机制,以确保在构建更改时更新缓存的资产。
Intercepts network requests using a service worker to serve assets from the local cache while offline.
This project is a reference library and collection of practical code samples for building browser extensions using WebExtensions APIs. It provides implementation guides and functional examples for core extension components, including content scripts, background processes, and browser action popups. The repository focuses on demonstrating specific implementation patterns for browser UI customization and web page manipulation. It includes samples for creating sidebars, context menus, and options pages, as well as techniques for injecting scripts and styles to alter DOM elements and page appeara
Intercepts, blocks, or modifies HTTP requests and responses to alter browser communication with servers.
TiebaLite 是一个第三方百度贴吧客户端和社区论坛浏览器。它作为一个基于 Web 的论坛包装器,为导航公共讨论帖和社区内容提供了精简的界面。 该应用专注于轻量级社交网络,允许用户查看论坛内容并浏览社区讨论,而无需官方应用带来的额外开销。 该项目利用 Web 视图界面和请求拦截来修改标头并伪造用户代理。它结合了基于代理的 API 包装系统和本地存储状态持久化,以管理身份验证和数据交付。
Implements network request interception to modify headers and bypass authentication restrictions on remote servers.
openapi-devtools 是一个浏览器扩展和 OpenAPI 规范生成器,可捕获网络流量以自动记录网站和应用程序的 API 结构。它充当 HTTP 流量捕获器和基于浏览器的文档工具,将实时网络请求映射为标准化的 API 规范。 该工具通过拦截出站 HTTP 流量并使用基于启发式的合并方法,将来自多个请求的标头、主体和参数组合成统一的端点定义,从而实现 API 逆向工程。这些捕获的定义可以在浏览器中可视化为人类可读的文档,或导出为可下载的文件和可共享的字符串。 该项目涵盖了网络请求映射的全流程,从客户端规范生成和基于状态的持久化,到最终的 API 定义导出。
Captures outbound HTTP traffic by hooking into browser-level network events.
该项目是针对微信小程序开发者环境的修改版,旨在绕过账户身份要求和服务器端域名验证。它作为一组工具和补丁,允许在没有注册账户标识符或官方开发者账户的情况下创建和测试小程序。 该工具专门禁用了 AppID 注册要求并移除了域名白名单限制。这使得开发者能够向任何外部端点发起网络请求,并在没有验证项目 ID 的情况下进行本地开发。 该实现利用网络拦截、进程内存补丁和运行时钩子注入,覆盖了开发工具内部的安全检查和验证逻辑。
Provides the ability to intercept and modify network calls within the IDE to bypass domain whitelist restrictions.
CrawlerTutorial 是一个全面的 Python 网络爬虫教程和框架,旨在从静态和动态网站中提取数据。它作为一个网络数据提取管道和 HTTP 请求编排器,涵盖了从初始获取到最终数据存储的爬虫应用程序全生命周期。 该项目提供了关于反机器人绕过技术和 Web API 逆向工程的专业指导。它包括通过身份掩码和代理轮换规避浏览器检测的方法,以及通过分析网络流量和请求签名识别隐藏 API 端点的技术。 该框架包含广泛的功能,包括针对 JavaScript 重度页面的浏览器自动化、通过 QR 码或短信的自动用户身份验证以及会话持久性管理。它还具有用于清理原始文本、删除重复记录并将收集到的信息持久化到平面文件或关系数据库中的数据预处理工具。
Captures API responses and JSON data directly from network traffic to avoid complex DOM parsing.
该项目是一套技术资源和实用工具,旨在协助解锁小米设备的 Bootloader。它结合了指南、账号资格验证工具和考试模拟器,帮助用户获取设备修改所需的必要权限。 该工具包包含一个交互式 Bootloader 解锁考试模拟器,以及一个包含正确答案和历史题库的综合数据库。这些资源可用于学习并通过解锁所需的官方资格测试。 该项目还提供了检测账号限制的工具,并能分析账号是否被列入无法获取解锁权限的黑名单。此外,还包含绕过强制资格问卷和账号绑定要求的技术方法。
Implements network request interception to bypass server-side validation and questionnaire requirements.
Splash 是一个无头浏览器 HTTP API 和 JavaScript 渲染引擎,旨在将动态 Web 内容转换为静态 HTML 或图像。它作为一个可 Lua 脚本化的浏览器服务,通过 RESTful 接口暴露浏览器自动化和渲染功能,用于程序化数据提取。 该服务以允许执行自定义 Lua 脚本来自动化复杂的用户交互序列和页面导航而著称。它提供了按请求切换渲染引擎的能力,以验证跨浏览器兼容性和视觉一致性。 该平台涵盖了广泛的功能,包括通过模拟键盘和鼠标事件进行自动化 Web 交互,以及拦截网络流量以监控或修改请求和响应。它还支持使用 CSS 选择器进行 DOM 提取,并导出网络日志以进行流量分析。
Monitors and modifies network traffic to block specific resources or capture detailed logs during page loads.
Pyppeteer 是一个用于使用 Chrome DevTools 协议控制基于 Chromium 的浏览器的 Python 库。它作为一个无头浏览器自动化工具,允许对网页进行编程导航并从动态网站中提取数据。 该项目通过与 Chrome DevTools 协议的直接通信提供底层浏览器控制,从而能够拦截和修改网络流量。它通过提供专门的性能分析功能(包括测量 JavaScript 和 CSS 代码覆盖率以及捕获性能跟踪)而脱颖而出。 其更广泛的功能包括通过键盘和鼠标输入模拟人类用户交互、管理隔离的浏览器上下文以及模拟各种设备环境。它还支持通过截图和 PDF 生成进行视觉内容捕获,以及注入自定义脚本以操作 DOM。
Intercepts and modifies HTTP requests and responses to abort or override URLs and headers.
这是一个使用 Electron 进行桌面软件开发的参考实现和示例应用程序集合。它提供跨平台样板代码和实用的代码示例,演示如何将 Web 技术与原生操作系统 API 集成。 该仓库作为实现原生系统集成的功能展示,例如本地文件系统访问、进程管理和自定义窗口框架。它包括针对特殊功能的演示,如通过 Service Workers 进行网络请求拦截、屏幕和窗口捕获,以及客户端证书管理。 这些示例涵盖了广泛的功能领域,包括通过 3D 模型渲染和 PDF 导出进行的硬件和媒体交互,以及用于外部进程执行和防止系统休眠的系统级工具。它还提供了用户界面自定义的示例,例如创建自定义应用程序菜单和定义可拖动窗口区域。
Implements network request interception via service workers to serve mocked responses.
Fly 是一个 HTTP 客户端库和跨平台网络包装器,提供了一个统一的、基于 Promise 的接口,用于管理跨不同 JavaScript 运行时和操作系统的网络请求。它作为多运行时请求管理器,抽象了底层的 HTTP 引擎,以确保浏览器和原生环境之间行为的一致性。 该库具有一个中间件系统,用于通过请求拦截器管道捕获和修改传出请求及传入响应。它采用基于适配器的引擎切换来在不同平台上保持一致的 API,并包含一个将请求从 Web 视图路由到原生环境的机制,以实现集中的证书和 Cookie 管理。 该项目涵盖了广泛的流量管理功能,包括并发请求执行、异步请求队列以及处理二进制数据(如 Buffer 和 Blob)。它还提供了用于全局配置、URL 参数管理以及 JSON 与其他格式之间自动数据序列化的工具。
Provides a pipeline for processing requests and responses to handle pre-processing and asynchronous logic.
This library provides a utility for intercepting and simulating HTTP requests within the Axios ecosystem. It functions as an HTTP request interceptor that allows developers to define mock responses for outgoing network traffic, enabling frontend integration testing and development without requiring live backend infrastructure. The tool distinguishes itself by offering granular control over the request lifecycle, including the ability to match specific request patterns and forward unmatched traffic to actual destinations. It supports the simulation of unstable network environments by injecting
Intercepts outgoing HTTP requests to return predefined mock responses for testing without live backend infrastructure.
Fetch-mock is a testing utility designed to isolate application code from external network dependencies by intercepting and overriding outgoing traffic. It functions as a network request interceptor that captures calls made via the Fetch API, allowing developers to simulate server responses and verify application behavior without requiring a live backend infrastructure. The library distinguishes itself through a unified interface that provides consistent network interception logic across diverse runtime environments, including browsers, service workers, and server-side platforms. By replacing
Prevents actual network traffic during testing by capturing fetch calls and returning predefined responses.
Vue Access Control 是一个旨在管理用户权限并在 Vue 应用中强制执行安全策略的库。它提供了一个框架,用于根据当前用户授权状态限制对界面元素、应用路由和网络请求的访问。 该库与应用路由器和状态管理集成,以实时动态过滤导航路径并更新界面组件。通过拦截传出的网络请求并根据定义的权限集进行验证,它防止未经授权的操作被发送到服务器。 该工具集涵盖了广泛的前端安全需求,包括 UI 元素的条件渲染和导航流程的程序化验证。它作为一个中间件层运行,同步整个应用中的授权数据,以确保视觉界面和后端通信与用户的分配访问级别保持一致。
Checks request methods and endpoints against user permissions at the network layer to prevent unauthorized access.
This project is a comprehensive TypeScript-based boilerplate designed to accelerate the development of Vue 3 web applications. It provides a pre-configured foundation that integrates essential build tools, routing, and state management, ensuring a consistent architectural pattern across the entire codebase. By enforcing strict type safety and standardized coding practices, it serves as a starting point for building scalable and maintainable frontend projects. The framework distinguishes itself through extensive automation and modularity. It features an auto-importing system for components and
Intercepts outgoing HTTP requests during development to return mock data for functional testing.