For example current page is www.google.com. But I typed a different website address in address bar and clicked. This site has fully GWT code.
But I like to back to t
There's Window.ClosingEvent:
Fired just before the browser window closes or navigates to a different site.
The other option is History.addValueChangeHandler, which listens for changes in the browser's history stack (see the docs for more info).