Web features explorer
  • Home
  • Release notes
  • About
  • Features
  • Newly available
  • Widely available
  • Limited availability
  • Discouraged
  • Opposed
  • Most wanted
  • All features
  • Missing only in
  • Chromium
  • Firefox
  • Safari
  • Implemented only in
  • Chromium
  • Firefox
  • Safari
  • Features in latest releases
  • Chrome
  • Chrome Android
  • Edge 157
  • Firefox 160
  • Firefox for Android 160
  • Safari 27.2
  • Safari on iOS 27.2

Navigation precommit handlers

Limited availability

The precommitHandler callback option to NavigateEvent's intercept() method returns a promise that defers navigation until the promise resolves. You can use this to change the navigation's URL, state, and history before navigation occurs.

Browser support

  • Chrome 146 Released on 2026-03-10
  • Chrome Android 146 Released on 2026-03-10
  • Edge 146 Released on 2026-03-13
  • Firefox 148 Released on 2026-02-24
  • Firefox for Android 148 Released on 2026-02-24
  • Safari Not supported
  • Safari on iOS Not supported

Baseline availability blocked since March 2026 by Safari (8 months)

👍
3

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.

MDN documentation

  • NavigationPrecommitController
  • NavigationPrecommitController: addHandler() method
  • NavigationPrecommitController: redirect() method

Specifications

  • HTML (#dom-navigationinterceptoptions-precommithandler), from HTML Workstream (WHATWG).

Interop

  • Included in Interop 2026

View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist