History.js很好地支持了所有浏览器中的HTML5历史记录/状态API(如pushState、replaceState、onPopState)。它还继续支持对数据、标题以及replaceState的操作。该库支持jQuery、MooTools和Prototype等框架。对于支持HTML5的浏览器来说,这意味着可以直接修改URL,无需再使用哈希值。而对于不支持HTML4的浏览器则仍需要使用旧的onhashchange功能。
hashchange 开源项目推荐(12 个)
hashchange 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 全部 12
GitHub 共 12 个仓库,已全部展示Deprecated. Use https://github.com/browserstate/history.js
jQuery Ajaxy aims at solving complicated AJAX Paradigms by providing you with a easy managed solution to bind into page state (URL Hash) changes, AJAX form submits, and support AJAX links
将平滑滚动应用于锚点链接,为 scroll-behavior 提供 polyfill
Tiny hashchange router inspired by express.js & page.js.
React component that notifies when browser's hash (i.e. `window.location.hash`) changes.
URLObserver observes for URL changes in a web browser
Hashtag navigation for onepage applications
#️⃣ React component that makes it easy to compose hash change and click handling into your application or site.
Observe and react to browser history changes.
Manage query parameters in URL hash.
Index and search Claude Code conversation history to extract knowledge, track solutions, and provide project context for efficient development workflows.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 12 个项目,对应的话题主页见 https://github.com/topics/hashchange。
- 该话题在 GitHub 上共有 12 个仓库, 这里呈现的是其中最具代表性的 12 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 12 个项目累计 1.1 万 Star,覆盖 2 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。