Nowadays we are familiar with the forward and backward function of browser, but may be little of us know the real algorithm of it. In a recent project, I have to simulate a forward-backward function for our ajax based web application. So I spend some time on the forward-backward algorithm of Chrome.
Below is my method :
- open chrome browser, then visit : A, B, C web pages, so currently we are on page C.
- click backward button, then we are currently on page B, then open a link to new page D. then click backward button, so we currently on page B.
- now, the most point is coming, if we click backward button, we will be guided to page A, not page C.
Leave a Reply