'Detect Browser Forward OR Backward Click Event
My question is this: Is it possible to detect which browser navigation button was clicked, the forward button or the back button. I am aware of the 'popstate" API but it seems to only show that one of the navigation buttons was clicked and doesn't differentiate which one was clicked. Is there a definitive way to detect which browser navigation button is clicked?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
