Chartbreaker
    Preparing search index...

    Interface PerformanceNavigation

    The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done.

    This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.

    MDN Reference

    interface PerformanceNavigation {
        redirectCount: number;
        type: number;
        TYPE_BACK_FORWARD: 2;
        TYPE_NAVIGATE: 0;
        TYPE_RELOAD: 1;
        TYPE_RESERVED: 255;
        toJSON(): any;
    }
    Index

    Properties

    redirectCount: number

    The legacy PerformanceNavigation.redirectCount read-only property returns an unsigned short representing the number of REDIRECTs done before reaching the page.

    MDN Reference

    type: number

    The legacy PerformanceNavigation.type read-only property returns an unsigned short containing a constant describing how the navigation to this page was done.

    MDN Reference

    TYPE_BACK_FORWARD: 2
    TYPE_NAVIGATE: 0
    TYPE_RELOAD: 1
    TYPE_RESERVED: 255

    Methods

    • The toJSON() method of the PerformanceNavigation interface is a Serialization; it returns a JSON representation of the PerformanceNavigation object.

      Returns any

      MDN Reference