|
原理:通过iframe+javascript的方式 让百度找不到淘宝客的痕迹。。。。。其中大家注意下站点首页,也是<网站建设中> 或者 <网站升级中> 这种暂时不会被惩罚,会跳过惩罚
以下只是举例,我调查过暂时有效的方法
网址:http://www.hackshp.cn/buy/35155345763
源码:- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>跳转中...</title>
- <link href="/css/bootstrap.css" rel="stylesheet">
- <script type="text/javascript" src="/js/jq-1.9.js"></script>
- </head>
- <body style="text-align: center;">
- <div class="modal hide in" id="myModal" aria-hidden="false" style="display: block;width: 500px;height: 500px;">
- <div class="modal-header" style="text-align: center;">
- <p style="color: red;font-size: 16px;">正在为您跳转到产品....</p>
- <div><img src="/images/preload.gif"></div>
- </div>
- <div><p style="color: red;font-size: 14px;text-indent: 6em;">如果浏览器没有自动跳转,请点刷新页面或击图片进行跳转.</p></div>
- <div class="modal-body" style="margin:auto;text-align: center">
- <iframe src="http://www.sinogingko.net/sclick.php?iid=35155345763"
- style="border:none;width: 260px;height: 360px;border: none;margin:auto;"></iframe>
- </div>
- </div>
- </body>
- </html>
复制代码 其中 http://www.sinogingko.net/sclick.php?iid=35155345763 的源码如下- <html>
- <head>
- <script type="text/javascript">
- (function (win, doc) {
- var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
- if (!win.alimamatk_show) {
- s.charset = "gbk";
- s.async = true;
- s.src = "http://a.alimama.cn/tkapi.js";
- h.insertBefore(s, h.firstChild);
- }
- ;
- var o = { pid: "mm_32001269_4956277_15634734", /*推广单元ID,用于区分不同的推广渠道*/ appkey: "", /*通过TOP平台申请的appkey,设置后引导成交会关联appkey*/ unid: ""/*自定义统计字段*/ };
- win.alimamatk_onload = win.alimamatk_onload || [];
- win.alimamatk_onload.push(o);
- var locating = false;
- setInterval(function () {
- var tao_frame = document.getElementById('writeable_iframe_0');
- if (tao_frame) {
- var tao_href = tao_frame.contentWindow.document.getElementsByTagName('a');
- if (tao_href) {
- if (tao_href[0].href && locating == false) {
- window.top.location.href = tao_href[0].href;
- locating = true;
- }
- }
- }
- }, 200);
- setTimeout(function () {
- if (locating == false) {
- var promo_url = "http://s.click.taobao.com/t?e=m%3D2%26s%3DRC%2FrPO%2BL%2FdIcQipKwQzePCperVdZeJviK7Vc7tFgwiFRAdhuF14FMX6SCPRaAPVdRitN3%2FurF3wAtS29kx24wLYJW6sfPPLG5UoOeRlV%2BcG%2Bh63zuUZMYYgaseAKBk0cDPtbhjM5VDw%3D";
- //alert("对不起,该商商家已下架\r\n 正在带您到天猫商城...");
- window.top.location.href = promo_url;
- locating = true;
- }
- }, 5000);
- })(window, document);
- </script>
- </head>
- <body>
- <div>
- <a data-type="0" biz-itemid="35155345763" data-style="2" data-tmpl="230x312" target="_top">
- </a>
- </div>
- </body>
- </html>
复制代码 |
|