11 个仓库
Libraries for capturing and overriding default browser event behavior at the document level.
Distinguishing note: Specifically targets browser event interception for navigation control.
Explore 11 awesome GitHub repositories matching web development · Event Interception Frameworks. Refine with filters or upvote what's useful.
Vimium is a browser extension that provides a keyboard-driven interface for web navigation. By mapping standard text editor commands to browser interactions, it enables users to navigate web pages and interface elements without relying on a mouse or trackpad. The project functions as a customizable input mapper that intercepts low-level keyboard events at the document root. This allows users to override default browser shortcuts and define personalized command sequences to tailor their browsing workflow. The extension maintains consistent control across all browser environments, including res
Captures low-level keyboard events to override default browser navigation behavior.
This project is a browser extension that integrates large language model responses directly into search engine result pages. It functions as an AI search result integrator, embedding a customized interface within the browser to display generated answers alongside standard search results. The extension includes a markdown content renderer that converts raw AI text into formatted HTML, featuring syntax highlighting for code blocks and structured lists. Users can adjust the interface through customization settings for visual themes, language preferences, and the specific conditions that trigger
Monitors browser URL changes and page loads to trigger AI service requests when a search is performed.
history.js is a cross-browser URL state manager and HTML5 History API polyfill. It functions as a single page application router that manages browser URL and history state consistently across HTML5 and HTML4 browsers, enabling navigation without triggering full page reloads. The project provides a JavaScript framework adapter that integrates history management with the event systems of jQuery, MooTools, and Prototype. It ensures compatibility through a fallback mechanism that switches to hash-based navigation and hashbang URLs when the native HTML5 History API is unavailable. The system cove
Handles hashbangs and history API updates uniformly to ensure consistent URL state across all browsers.
nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a type-safe hook-based approach that synchronizes component state with the address bar, enabling shareable and bookmarkable application states. The library handles parsing and serializing URL query parameters into typed JavaScript values, supporting integers, floats, booleans, dates, and custom types with bijectivity verification. The library distinguishes itself through its comprehensive approach to URL state management, combining batch URL updates that merge multiple parameter
Captures URL changes triggered by component actions and exposes new search parameters for test verification.
This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.
Specifies how the browser changes the current location by setting new URLs or reloading the page.
Infinite Scroll is a JavaScript library that automatically loads and appends the next page of content when a user scrolls near the bottom of a container, or optionally when they click a button. It provides scroll-based pagination that fetches and inserts subsequent pages of content, with URL-driven content loading that determines next page URLs from selectors, templates, or custom functions. The library integrates with browser history, updating the URL and history state as new pages load while preserving scroll position so each page state is bookmarkable and refreshable. It is compatible with
Changes the page URL and browser history using replaceState or pushState as content is loaded.
Reach Router is a client-side routing library for React applications that maps URL patterns to components without full page reloads. It defines navigation rules and component rendering through declarative route configuration, using nested React component trees instead of separate configuration files. The library supports parent-child route hierarchies so shared UI elements persist across page transitions, and provides a declarative Navigate component that triggers URL changes and view updates when rendered. It extracts dynamic segments from URL patterns and passes them as props to matched rou
Subscribes to the popstate event and History API calls to detect browser URL changes.
Notion Enhancer 是一个自定义框架和桌面应用程序修改器,旨在将 JavaScript 和 CSS 注入 Notion。它充当插件系统和主题引擎,用于修改界面和核心应用程序行为。 该项目支持覆盖内部软件逻辑并注入自定义脚本以更改默认行为。它包括一个用于覆盖 CSS 变量以应用自定义视觉方案的主题引擎,并提供对从右到左文本方向的支持。 该框架涵盖了一系列功能,包括通过用户输入拦截进行工作流自动化、模块化插件管理以及使用作用域数据库进行持久化扩展状态。它还提供了将目标应用程序与这些修改器打包成独立可执行文件以进行跨平台安装的工具。
Provides a bridge to observe and react to user inputs and document changes by intercepting events.
Intercooler-js 是一个声明式 AJAX 框架和服务器驱动的 UI 库。它作为一个超媒体 Web 框架,通过将特定的 DOM 元素替换为服务器返回的 HTML 片段,实现单页应用体验。 该库的特色在于使用 HTML 属性将 DOM 元素映射到服务器端点,从而无需手动编写脚本即可实现异步 HTTP 请求和 DOM 更新。它支持超媒体驱动的架构,即服务器通过响应头和交付带注解的 HTML 片段来控制客户端状态。 项目涵盖了广泛的功能,包括通过服务器发送事件 (SSE) 实现实时 UI 更新、浏览器历史记录与状态同步、自动内容轮询。此外,还提供资源依赖管理以协调相关 UI 元素间的更新、用于监控网络故障的远程错误日志记录,以及用于管理元素生命周期和 CSS 过渡的客户端 DOM 操作。
Updates the browser's address bar during asynchronous requests to maintain a consistent URL state.
Converse.js is an embeddable, self-hosted XMPP chat client that runs entirely in the browser. It communicates with XMPP servers using standard XML stanzas over WebSocket or BOSH transports, and provides end-to-end encryption through the OMEMO protocol with double ratchet algorithm and X3DH key exchange. The client is built on a plugin-based architecture that allows extending core functionality at runtime without modifying the client itself, and uses a DOM-based rendering approach with an event-driven message bus for internal coordination. The client manages message history through XEP-0313 Me
Updates the browser's URL bar using the History API for navigation state.
InputSourcePro is a macOS keyboard layout manager and automation tool designed to automate the switching of input sources based on application focus and system rules. It serves as a contextual input source switcher and keyboard shortcut mapper that triggers layout changes when specific applications gain focus or certain browser URLs are visited. The tool distinguishes itself by offering URL-based layout switching and the ability to enforce English punctuation within specific applications. It also provides dynamic function key behavior, allowing the system to toggle between standard function k
Monitors browser navigation and URL changes to automatically trigger corresponding keyboard layout transitions.