开发者

Accessing the HTML contents of WP7 WebBrowser control

开发者 https://www.devze.com 2023-02-23 01:36 出处:网络
Once I\'ve navigated to a URL, can I retrieve the HTML that\'s inside the WebBrowser contr开发者_Python百科ol?

Once I've navigated to a URL, can I retrieve the HTML that's inside the WebBrowser contr开发者_Python百科ol?

Maybe there are some javascript hacks I can do via InvokeScript and ScriptNotify


Yes - use this function:

WebBrowser.SaveToString()

http://msdn.microsoft.com/en-us/library/microsoft.phone.controls.webbrowser.savetostring(v=vs.92).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消