Remove the current page from the navigation stack and WebBrowserTask
===

I have a page that calls a WebBrowserTask. When the user is returning from the browser, I don't want to show the page that launched the task, but the previous one.

The problem is that the Navigation stack does not contain the current page, and I have no way to remove it from the entries in the page, and the WebBrowserTask doesn't allow us to do anything.

On Android, I can specify for a given Activity to not be added in the back stack. Is there something like this ?

Currently, the only way that I have found to almost do what I want is to set a flag when I call the task, and check it in the OnNavigatedTo handler of the page.
But the page is still visible a few seconds before going back. It's not good.


Thanks.