Cross Browser Forward/Back Event Detection
<p>I am currently using the jQuery Address plugin and it works great for detecting when a user presses the forward/back keys.  However, I don't need any other functionality from the plugin so it seems like a waste to load it.  Is  there another JavaScript or jQuery API call that will let you fire a function when the user presses the forward or back buttons on their browser?</p>

<p>The most important factor is that it will work cross browser - something that jQuery Address takes care of internally(??).  I looked at the Address plugin's source on GitHub to see if I could pick out only the portion I needed but I only see browser specific code for IE.</p>

<p>Any ideas?</p>

<p>Thanks in advance!</p>
