- Код: Выделить всё
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>
Главная /
Porsche Cayenne
</title>
<link rel="stylesheet" type="text/css" href="/usercss/users/informers.css" />
<meta name="keywords" content="Главная" />
<meta name="description" content="Главная" />
<link rel="stylesheet" type="text/css" href="/usercss/users/theme/commerce.css" />
<link rel="stylesheet" type="text/css" href="/usercss/b-narod-toolbar.css" />
<!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="/usercss/b-narod-toolbar.ie.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="/usercss/users/ie.css" /><![endif]-->
<link rel="stylesheet" type="text/css" class="userCss" href="/usercss/users/color/bw.css" />
<!--[if lte IE 8]><link rel="stylesheet" type="text/css" class="userCss" href="/usercss/users/color/bw-ie.css" /><![endif]-->
<script type="text/javascript" src="//yandex.st/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="/userjs/jquery.placeholder.js"></script>
<script type="text/javascript" src="/userjs/jquery.galleria.js"></script>
<script type="text/javascript" src="/userjs/counter.js"></script>
<script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="/css/user.css" />
<link rel="shortcut icon" href="/favicon.ico"/>
</head>
<body class="body-background"><i style="background:url(//www.tns-counter.ru/V13a****yandex_ru/ru/CP1251/tmsec=narod_total/0)"></i>
<!-- Yandex.Metrika counter -->
<script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script>
<script type="text/javascript">
try { var yaCounter12663031 = new Ya.Metrika({id:12663031});}
catch(e) { }
</script>
<noscript><div><img src="//mc.yandex.ru/watch/12663031" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<div class="b-body">
<table class="layout">
<col width="15%"></col><col width="25%"></col><col width="60%"></col>
<tr>
<td style="width: 15%;">
<div class="holster">
<div class="block_container s3 b-counter b-widget" id="e_13306923524">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f4372d021efea2e"></script>
<!-- AddThis Button END -->
</div><div class="block_container s3 b-image txt-center " id="e_132939087325">
<span><img src="/porsche_logo_8.jpg" alt="" /></span>
</div><div class="block_container s3 b-counter b-widget " id="e_132939499647">
<html>
<head>
</head>
<body>
<table border="0">
<tr>
<td align="center"><font face="Arial"><strong>Вы находитесь на сайте уже:</strong></font></td>
<td align="center"><form name="d">
<p><input type="text" size="8" name="d2"></p>
</form>
</td>
<td align="center"><font face="Arial"><strong>секунд!</strong></font></td>
</tr>
</table>
<script>
<!--
/*By George Chiang. (WA's ultimate JavaScript tutorial and free JavaScripts site!)
http://www.wsabstract.com
Credit MUST stay intact for use*/
var milisec=0
var seconds=0
document.d.d2.value='0'
function display(){
if (milisec>=9){
milisec=0
seconds+=1
}
else
milisec+=1
document.d.d2.value=seconds+"."+milisec
setTimeout("display()",100)
}
display()
//-->
</script>
</body>
</head>
</html>
</div>
</div>
</td>
<td>
<div class="holster">
<div class="block_container s3 b-image txt-center " id="e_1329391593322">
<span><img src="/normal_2.jpg" alt="" /></span>
</div>
</div>
</td>
<td>
<div class="holster">
<div class="block_container s3 b-counter b-widget" id="e_133754578544">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7481866188445527";
/* сверху справа */
google_ad_slot = "3682958945";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</td>
</tr>
</table>
<table class="layout">
<col width="20%"></col><col width="80%"></col>
<tr>
<td style="width: 20%;">
<div class="holster">
<div class="block_container s3 b-menu b-menu_marker " id="e_1329395486830">
<ul><li class="active"><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><b>Главная</b></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/istoriya_porsche_cayenne/'>История Porsche Cayenne</a></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/komplektatsiya_porsche_cayenne/'>Комплектация Porsche Cayenne</a><ul></ul></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/osnovnie_tehnicheskie_harakteristiki_porsche_cayenne/'>Основные технические характеристики Porsche Cayenne</a><ul></ul></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/stoimost_porsche_cayenne/'>Стоимость Porsche Cayenne</a></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/foto_porsche_cayenne/'>Фото Porsche Cayenne</a><ul></ul></li> <li><i class="b-menu-mark g-png"><img alt=">>" src="/inc/bullet.jpg?rnd=116972473134164" /></i><a class='link' href='/video_porsche_cayenne/'>Видео Porsche Cayenne</a></li> </ul>
</div><div class="block_container s3 b-counter b-widget " id="e_132939658552">
<script type="text/javascript" src="http://jj.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('6','220','false','false','000000','90ugbn3sg8h','false','ff0000');</script><noscript><applet codebase="http://rj.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="false" /><param name="n" value="false" /><param name="i" value="90ugbn3sg8h" /><param name="m" value="6" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="false" /><param name="b" value="000000" /><param name="rfc" value="true" /></applet></noscript>
</div><div class="block_container s3 b-text b-static-text" id="e_13298219361">
<p><img src="http://www.rykunovdesign.com/porsche/new3/2010-porsche-cayenne-turbo-a2z.jpg" alt="2010 Porsche Cayenne Turbo"></p><div class="_pm_clear_img" style="clear: both;"></div>
</div>
</div>
</td>
<td>
<div class="holster b-main">
<div class="block_container s3 b-text b-static-text " id="e_13293917718">
<h1><strong>Porsche Cayenne </strong><strong><strong>создан для тех, кто привык выбирать для себя все самое лучшее! </strong></strong><strong>Porsche Cayenne </strong><strong><strong>– настоящий «автомобиль будущего!</strong></strong></h1><div class="_pm_clear_img" style="clear: both;"></div>
</div><div class="block_container s3 b-image txt-center " id="e_132939151436">
<span><img src="/normal_1.jpg" alt="" /></span>
</div><div class="block_container s3 b-text b-static-text " id="e_132939173775">
<h1><strong>Porsche Cayenne – идеальное сочетание прекрасных внедорожных качеств и отличной динамики.</strong></h1><div class="_pm_clear_img" style="clear: both;"></div>
</div>
</div>
</td>
</tr>
</table>
<table class="layout">
<col width="33%"></col><col width="34%"></col><col width="33%"></col>
<tr>
<td style="width: 33%">
<div class="holster">
<div class="block_container s3 b-counter b-widget" id="e_132939216435">
<!-- hit.ua -->
<a href='http://hit.ua/?x=34499' target='_blank'>
<script language="javascript" type="text/javascript"><!--
Cd=document;Cr="&"+Math.random();Cp="&s=1";
Cd.cookie="b=b";if(Cd.cookie)Cp+="&c=1";
Cp+="&t="+(new Date()).getTimezoneOffset();
if(self!=top)Cp+="&f=1";
//--></script>
<script language="javascript1.1" type="text/javascript"><!--
if(navigator.javaEnabled())Cp+="&j=1";
//--></script>
<script language="javascript1.2" type="text/javascript"><!--
if(typeof(screen)!='undefined')Cp+="&w="+screen.width+"&h="+
screen.height+"&d="+(screen.colorDepth?screen.colorDepth:screen.pixelDepth);
//--></script>
<script language="javascript" type="text/javascript"><!--
Cd.write("<img src='http://c.hit.ua/hit?i=34499&g=0&x=5"+Cp+Cr+
"&r="+escape(Cd.referrer)+"&u="+escape(window.location.href)+
"' border='0' width='88' height='31' "+
"alt='hit.ua: посетителей и просмотров за сегодня' title='hit.ua: посетителей и просмотров за сегодня'/>");
//--></script>
<noscript>
<img src='http://c.hit.ua/hit?i=34499&g=0&x=5' border='0' width='88' height='31' alt='hit.ua: посетителей и просмотров за сегодня' title='hit.ua: посетителей и просмотров за сегодня'/>
</noscript></a>
<!-- / hit.ua -->
</div>
</div>
</td>
<td>
<div class="holster">
<div class="block_container s3 b-text b-static-text txt-center " id="e_122892182474">
© Porsche Cayenne Auto<div class="_pm_clear_img" style="clear: both;"></div>
</div><div class="block_container s3 b-image txt-center" id="e_1329391013165">
<span><img src="/Porsche-Logo.jpg" alt="" /></span>
</div>
</div>
</td>
<td style="width: 33%">
<div class="holster">
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Использовал код клика по testlink.href
- Код: Выделить всё
Private Sub Command4_Click()
While WebBrowser1.ReadyState <> READYSTATE_COMPLETE
DoEvents
Wend
For Each TestLink In WebBrowser2.Document.links
If InStr(1, TestLink.href, "www.googleadservices.com/pagead/aclik?sa=", vbTextCompare) Then
List1.AddItem TestLink.innerText
Text3 = Text3 + WebBrowser2.LocationURL + Chr(13) + Chr(10)
TestLink.Click
Exit For
End If
Next TestLink
End Sub