lHook('before'+capitalize(method), fullstateObject, url, component)

                try {
                    history[method](fullstateObject, '', url)
                } catch (error) {
                    // Firefox has a 160kb limit to history state entries.
                    // If that limit is reached, we'll instead put it in
                    // sessionStorage and store a reference to it.
                    if (error.name === 'NS_ERROR_ILLEGAL_VALUE') {
                        let key = this.stor