kadirahq/flow-router

How go back to previous website when clicking on browser back button?

Closed this issue · 1 comments

When users arrives to my website, I need to make them be able to go back to previous website (referral website) by clicking in the back button of the browser. Is that possible?

We accomplished by changing pushState function to empty function.

FlowRouter._page.Context.prototype.pushState = () => {};