intercept

fun intercept(options: NavigationInterceptOptions = definedExternally)(source)

MDN Reference