{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.NavigationPrecommitController.addHandler",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.NavigationPrecommitController.addHandler",
    "cat": "api",
    "mdn": "API/NavigationPrecommitController/addHandler",
    "spec": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationprecommitcontroller-addhandler",
    "st": 1,
    "wf": "navigation-precommit-handlers",
    "bl": false,
    "s": {
      "chrome": {
        "v": "146",
        "d": 20522
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "edge": {
        "v": "146",
        "d": 20525
      },
      "chrome_android": {
        "v": "146",
        "d": 20522
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      },
      "webview_android": {
        "v": "146",
        "d": 20522
      },
      "samsunginternet_android": {
        "v": "31.0",
        "d": 20719
      },
      "opera": {
        "v": "130",
        "d": 20551
      },
      "opera_android": {
        "v": "97",
        "d": 20559
      }
    }
  },
  "webFeature": {
    "id": "navigation-precommit-handlers",
    "name": "Navigation precommit handlers",
    "description": "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.",
    "group": "navigation",
    "groupName": "Navigation",
    "spec": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationinterceptoptions-precommithandler",
    "baseline": false,
    "compatCount": 4,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.NavigateEvent.intercept.precommitHandler_option",
      "api.NavigationPrecommitController",
      "api.NavigationPrecommitController.addHandler",
      "api.NavigationPrecommitController.redirect"
    ],
    "s": {
      "chrome": {
        "v": "146",
        "d": 20522
      },
      "chrome_android": {
        "v": "146",
        "d": 20522
      },
      "edge": {
        "v": "146",
        "d": 20525
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      }
    }
  }
}