|
 |
资料搜索 |
|
|
|
|
|
|
|
 |
相关文章 |
|
|
|
|
|
|
|
|
|
|
| [ 来源:CSDN | 作者:无从考证 | 时间:2005-9-7 11:16:33 | 浏览:人次 ] | |
|
// The URL to download var url = "http://www.aboutnt.com/default.htm" // Create instance of Inet Control inet = new ActiveXObject("InetCtls.Inet"); // Set the timeout property inet.RequestTimeOut = 20; // Set the URL property of the control inet.Url = url; // Actually download the file var s = inet.OpenURL(); // Show the raw HTML to the user WScript.Echo( s ); // Bonus - Find the title of the page // Regular expression to find the string stored between // the title tags. rtitle = /<title>(.*)<\/title>/i; // Execute the regular expression on the raw HTML var title = rtitle.exec( s ); // Display the result
|
|
|
|
|
|
特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。 |
|
|
|
|
|
栏目编辑: 设计风 |
责任编辑: 简若宁 |
|
|
原始作者: 无从考证 |
录入时间: 2005-9-7 11:16:33 |
|
|
信息来源: CSDN |
投稿信箱: Edu#chinaz.com |
|
|
|
| |
|