How does Yahoo Mail make the back button traverse through previous clicks in their UI?
-
19-09-2019 - |
Question
Try the following case:
- Log on to Yahoo Mail.
- Click Inbox.
- Click Drafts.
- Click Sent.
- Click Spam.
- Click Trash.
- Observe the browser's back history menu -- these different "pages" are not listed.
- Now click back button multiple times-- the browser cycles through each of previously clicked "pages". (Note that "Forward" button is not available though...)
Finally, click logout. Now click back button .. none of the "pages" are in cache.
How does Yahoo do this? It seems like they are manipulating the use of the Back button.
Would appreciate an analysis of this since I would like to implement similar functionality.
Solution
They probably use their own Browser History Manager (the source is on github)
OTHER TIPS
That is Ajax Back button functionality..
Check this example
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow