I'm trying to view in console browsing history, but history.state return null. Strange for me that history.length return 3, but why I cannot see history.state ? I would like to display different content when user come back from subpage x and different content when user come back from subpage y: picture of console
It's gonna be Wordpress Website.
Is it possible to achieve this by JavaScript?