Is it possible to detect that a user entered a page through using the history back button in his browser? Preferably I want to detect this action using polymer.
You could probably listen on the popstate
event as documented here:
https://developer.mozilla.org/en-US/docs/Web/Events/popstate
This should fire when the back button is clicked, history.back()
is called, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With