Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/372.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 从Windows桌面应用程序使用readability.js_Javascript_Webbrowser Control_Readability_Htmlcleaner - Fatal编程技术网

Javascript 从Windows桌面应用程序使用readability.js

Javascript 从Windows桌面应用程序使用readability.js,javascript,webbrowser-control,readability,htmlcleaner,Javascript,Webbrowser Control,Readability,Htmlcleaner,我需要使用readability.js和webbrowser控件以编程方式获取网页的精简版本 我是否必须将要剥离的网页加载到webbrowser控件中,然后将可读性javascript函数注入头部,然后使用WebBrowser1.Document.parentWindow.execScript从头部调用它,还是有更简单的方法 只是想找一个方向正确的肿块 谢谢

我需要使用readability.js和webbrowser控件以编程方式获取网页的精简版本

我是否必须将要剥离的网页加载到webbrowser控件中,然后将可读性javascript函数注入头部,然后使用WebBrowser1.Document.parentWindow.execScript从头部调用它,还是有更简单的方法

只是想找一个方向正确的肿块

谢谢