广告联盟网

 找回密码
 注册
查看: 436|回复: 1
打印 上一主题 下一主题

看看这个代码是否作弊

[复制链接]
跳转到指定楼层
1#
发表于 2006-6-20 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
<script language=&quot;JavaScript&quot;>
  <!--
  var adsForLa = '';
  
  var lastWindowStatus = '';
  function trackBack(t) {
    window.focus();
    if (window.status && (window.status != lastWindowStatus)) {
      if (window.status.indexOf('View ads about') != 0) {
                  lastWindowStatus=window.status;
              trackClick2 = new Image();
                trackClick2.src = 'http://www.googleadservices.com/pagead/conversion/1068382176/';
          }
    }
  }
  
  function google_ad_request_done(google_ads) {
    // Proceed only if we have ads to display!
    if (google_ads.length < 1 ) {
      return;
        }

    // Get &quot;Ads By Google&quot; -- include link to Google feedback page if available
        var ShowGoogleFeedback = '';
        //alert(google_ads.feedback_url);
    if (google_info.feedback_url) {
      ShowGoogleFeedback = '<a href=&quot;' + google_info.feedback_url + '&quot; class=&quot;showsp&quot;>Ads by Google</a><br>';
    } else {
      ShowGoogleFeedback = '<span class=&quot;showsp&quot;>Ads by Google</span><br>';
      //ShowGoogleFeedback = '<a href=&quot;&quot; style=&quot;text-transform:uppercase; text-decoration:none; font-size:11px; font-weight:bold; color:#999999;&quot;>Ads by Google</a><br>';
    }
        ShowGoogleFeedback = '<table width=&quot;100%&quot; cellpadding=0 cellspacing=0 style=&quot;margin-left:0px;&quot;><tr><td>' + ShowGoogleFeedback + '</td></tr></table>';
        
    // Display ads in a table
    document.write(ShowGoogleFeedback);
        document.write('<table cellpadding=0 cellspacing=0 width=&quot;100%&quot;>');
        document.write('        <tr>');
        document.write('                <td style=&quot;width:100%; border:1px solid #6BFF9C; background-Color:#EBFFDF;&quot;>');
        document.write('                        ');
                                                               
        document.write('                                <div style=&quot;float:right; padding:5px 5px 15px 25px;&quot;><img src=&quot;/images/sp/thumb-.jpg&quot; width=&quot;178&quot; height=&quot;133&quot; alt=&quot;&quot; style=&quot;border:1px solid #6BFF9C;&quot;></div>');
                                                               
        document.write('                        ');
        document.write('                        <ul>');

    // For text ads, display each ad in turn.
    if (google_ads[0].type == 'text') {
      for(i = 0; i < google_ads.length; ++i) {
                if (i == 4 || i == 5) {
                        adsForLa += '<li style=&quot;margin-left:-40px; margin-top:15px; font-size:12px; padding-right:20px; cursor:hand;&quot; OnClick=&quot;trackBack(\''+google_ads.visible_url+'\'); document.location=\'' + google_ads.url + '\';&quot; name=&quot;custgoogiframe&quot; OnMouseOver=&quot;window.status=\'go to ' + google_ads.visible_url + '\';&quot; OnMouseOut=&quot;window.status=\' \';&quot;>';
                        adsForLa += '                <span class=&quot;adlink&quot;>' + google_ads.line1 + '</span><br> ';
                        adsForLa += '                ' + google_ads.line2 + ' ' + google_ads.line3 + '<br> ';
                        adsForLa += '                <span style=&quot;color:#339933&quot;>' + google_ads.visible_url + '</span><br> ';
                        adsForLa += '</li>';
                } else {
                        document.write('<li style=&quot;margin-left:-10px; margin-top:15px; font-size:12px; padding-right:20px; cursor:hand;&quot; OnClick=&quot;trackBack(\''+google_ads.visible_url+'\'); document.location=\'' + google_ads.url + '\';&quot; name=&quot;custgoogiframe&quot; OnMouseOver=&quot;window.status=\'go to ' + google_ads.visible_url + '\';&quot; OnMouseOut=&quot;window.status=\' \';&quot;>');
                        
                        document.write('                <span class=&quot;adlink&quot;>' + google_ads.line1 + '</span><br> ');
                        document.write('                ' + google_ads.line2 + ' ' + google_ads.line3 + '<br> ');
                        document.write('                <span style=&quot;color:#339933&quot;>' + google_ads.visible_url + '</span><br> ');
                        document.write('</li>');
                }
      }
    }
        
    // Finish up anything that needs finishing up
        document.write('                        </ul>');
        document.write('                </td>');
        document.write('        </tr>');
        document.write('</table>');
    //document.write(ShowGoogleFeedback);
    document.write('<span class=&quot;showsp&quot;> </span><br>');
  }

  google_ad_client = &quot;xxxxxxxxx&quot;;
  google_ad_channel = &quot;0563202970&quot;;
  google_ad_output = &quot;js&quot;;
  google_max_num_ads = 4;
  google_ad_type  = &quot;text&quot;;
  google_color_line = &quot;ff0000&quot;;
  -->
  
</script><script language=&quot;JavaScript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;> </script>
近日看到国外有不少网站如此调用google,改变了外观。
但观察了很久,他们也没被K,不知道是否允许
2#
发表于 2006-6-20 | 只看该作者
光看代码是不能判断是否违反规则的,光看有没有被停止帐号也不能判断是否违反规则的。

单从结果看,如果改变了外观是违反规则,但是不一定会因此被停止帐号。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-9-25 , Processed in 0.081263 second(s), 20 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表