WebBrowser Control Navigation Back

别来无恙 提交于 2019-12-24 03:05:09

问题


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.



来源:https://stackoverflow.com/questions/9981765/webbrowser-control-navigation-back

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!