in one of my webpages I want to send the user back to the previous page after some computation, but only if the previous page was a page from my website.
For security reasons the History object doesn't allow the non-privileged code to access the URLs of other pages in the session history, but it does allow it to navigate the session history.