WebBrowser Control Navigation Back

2019-07-16 06:59发布

问题:

Is it possible to Navigate back in the WebBrowser Control? I couldnt find any method to do this.

回答1:

There is no current way to do this from cache. But you can override the Key-Back Function to catch the back-button-press and implement your own Stack of Sites you visit.



回答2:

You can also do WebBrowser.InvokeScript() to call window.history.back() and cause the browser to go back in that way.