WebBrowser Control Navigation Back

2019-07-16 07:32发布

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

2条回答
Anthone
2楼-- · 2019-07-16 07:44

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.

查看更多
做自己的国王
3楼-- · 2019-07-16 07:53

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

查看更多
登录 后发表回答