I came across pageshow/pagehide events, but I'm not really sure how they work.
I registered them on document, and later on window object, but they never fired.
I expected them to fire after the page is loaded for pageshow, and when I go to some other page for pagehide, but this never happened.
Where can I find more information about these events?