I've a little problem with a jQuery Mobile app I'm building. I have page where a back button using data-rel="back
. It works well except in one case :
These page can be access by a link from an e-mail. So, when you come from the e-mail, the back button will not work.
So, is there a way to test if there is a previous URL or if the user comes from an e-mail ?