开发者

Using readablity.js from a Windows Desktop App

开发者 https://www.devze.com 2023-04-07 07:16 出处:网络
I need to obtain a stripped down version of a web page programmatically using readability.js and the webbrowser control.

I need to obtain a stripped down version of a web page programmatically using readability.js and the webbrowser control.

http://arc90labs-readability.googlecode.com/svn/trunk/js/readability.js

Do I have 开发者_开发问答to load the web page I want to strip into the webbrowser control and then inject the readability javascript function into the HEAD and somehow call it from there (using WebBrowser1.Document.parentWindow.execScript) or is there some easier way to go?

Just looking for a bump in the right direction.

Thanks!

0

精彩评论

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