OnBeforeNavigateDetails

@native @JSType
trait OnBeforeNavigateDetails extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val frameId: Int

0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique for a given tab and process.

0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique for a given tab and process.

val parentFrameId: Int

Since Chrome 24. ID of frame that wraps the frame. Set to -1 of no parent frame exists.

Since Chrome 24. ID of frame that wraps the frame. Set to -1 of no parent frame exists.

val processId: UndefOr[Int]

Deprecated since Chrome 50. The processId is no longer set for this event, since the process which will render the resulting document is not known until onCommit. Always returns the value of -1.

Deprecated since Chrome 50. The processId is no longer set for this event, since the process which will render the resulting document is not known until onCommit. Always returns the value of -1.

Missing in firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1248426

val tabId: Int

The ID of the tab in which the navigation is about to occur.

The ID of the tab in which the navigation is about to occur.

val timeStamp: Double

The time when the browser was about to start the navigation, in milliseconds since the epoch.

The time when the browser was about to start the navigation, in milliseconds since the epoch.

val url: String