Привет Супровцы =)
У меня такой вопрос, вот мой код:
Код |
---|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>$SITE_NAME$</title>
<link type="text/css" rel="StyleSheet" href="h/_st/my.css" />
</head>
<body>
$POWERED_BY$
</body>
</html> |
А вот что делает uCoz:
Код |
---|
<!DOCTYPE html>
<script type="text/javascript">document.write('<div style="width:0px;height:0px;position:fixed;right:0px;top:0px;display:none;overflow:hidden;z-index:10000;" id="dVaPluRTWQ"><scr'+'ipt type="text/javascript" src="/abnl/?adsdata=Rh!Kw0wibbd1PHJFVfOCzNqpdPJNZrhPmKQhEUJPvXEKUB5Scf;!6gMkxaCxlb!wxsWmd89MPlItZiBFCKzlFNwO!pKSa7c3fuP5IrNWn9etqwgpb^m9PvVnn0bAYFQumDwvLXnekKuVYsZD7J48E9sD^RY9kRCfmaPPm5xTEvlWdgtsGCM224TF4Tw00!6TrjgkT2OEEkWtKHgxkrJfQbQSZca77!IrfG;wSEQXWHQzeNV;^6MLMFMhA99dlxK5WSJhUisI9nXiT^Ca3XsFwPYTClT^DEHLrDQvcs1cisv3q^xSVXDSY5eU7t6;8vKCKAy76uCwxxv4RF2pbtpCivpe1BTdrJst64uNsVlXB;c3DY!UwI4854VB3!Gn1fVCD0TwdZDnurMVGd0LxiwsI^^skpj7adVk3n;vQ4WX3QJUd5!QtE0Xm0f0xgdx7fFx0FGF0XDRUY^Au3BcYwoo"></scr'+'ipt></div>');
function resizeDiv(islasttry){
var WX,WY,BX,BY;
var o=document.getElementById("dVaPluRTWQ"),t,d;
if (!o) return;
if(typeof window.self_getsizes == 'function'){
var s=self_getsizes();
if(s.err==1 && !islasttry) return;
if(isNaN(s.BX)) s.BX==0;
if(isNaN(s.BY)) s.BY==0;
if(s.err==1){
if (!(t=document.getElementById("bannerXaPluRTWQ"))) return;
else s.BX=t.value;
if (!(t=document.getElementById("bannerYaPluRTWQ"))) return;
else s.BY=t.value;
}
BX=s.BX;
BY=s.BY;
}else{
if (!(t=document.getElementById("bannerXaPluRTWQ"))) return;
else BX=t.value;
if (!(t=document.getElementById("bannerYaPluRTWQ"))) return;
else BY=t.value;
}
if (!(t=document.getElementById("wrapperXaPluRTWQ"))) WX=0;
else WX=t.value;
if (!(t=document.getElementById("wrapperYaPluRTWQ"))) WY=0;
else WY=t.value;
d=document.getElementById("mainadsdvaPluRTWQ");
if(d){
if (BX<0) d.style.width="100%";
else if (BX>0) d.style.width=BX+"px";
if (BY<0) d.style.height="100%";
else if (BY>0) d.style.height=BY+"px";
}
BX=parseInt(BX)+parseInt(WX);
BY=parseInt(BY)+parseInt(WY);
if (BX<0) o.style.width="100%";
else if (BX>0) o.style.width=BX+"px";
if (BY<0) o.style.height="100%";
else if (BY>0) o.style.height=BY+"px";
o.style.display='';
return true;
}
function waitForIframe(triesCount){
if(triesCount>10) return;
if(typeof resizeDiv == 'function' && !resizeDiv(triesCount==10 ? 1 : 0)) return setTimeout(function() { waitForIframe(triesCount + 1); }, 500);
};
document.write('<scr'+'ipt type="text/javascript">waitForIframe(0);</scr'+'ipt>');</script><div><script type="text/javascript">new Image().src = "http://counter.yadro.ru/hit;ucoznet2?r"+escape(document.referrer)+((typeof(screen)=="undefined")?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+";"+Math.random();</script></div><script type="text/javascript"></script><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Пиратские игры</title>
<link type="text/css" rel="StyleSheet" href="h/_st/my.css" />
<link type="text/css" rel="StyleSheet" href="http://s5.ucoz.net/src/base.css" />
<link type="text/css" rel="StyleSheet" href="http://s5.ucoz.net/src/layer1.css" />
<script type="text/javascript" src="http://s5.ucoz.net/src/jquery-1.7.2.js"></script>
<script type="text/javascript">window.ulb = {photoPage: "Перейти на страницу с фотографией.",closeBtn: "Закрыть", error: "Запрошенный контент не может быть загружен. Пожалуйста, попробуйте позже.", next: "Вперед", prev: "Предыдущий", btnPlay: "Начать слайдшоу", btnToggle: "Изменить размер"}</script>
<link href="http://s5.ucoz.net/src/ulightbox/ulightbox.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="http://s5.ucoz.net/src/ulightbox/ulightbox.js"></script>
<script type="text/javascript" src="http://s5.ucoz.net/src/uwnd.js?2"></script><style type="text/css">.UhideBlock {display:none}</style><script type="text/javascript">//<!--
function uSocialLogin(t){
var params = { 'vkontakte':{ 'width':790, 'height':400 }, 'facebook':{ 'width':950, 'height':520 }, 'yandex':{ 'width':870, 'height':515 }, 'google':{ 'width':700, 'height':360 }, 'twitter':{ 'width':800, 'height':400 } };
var ref = escape(location.protocol + '//' + ('pirate-games.ucoz.ru' || location.hostname) + location.pathname + ((location.hash ? ( location.search ? location.search + '&' : '?' ) + 'rnd=' + Date.now() + location.hash : ( location.search || '' ))));
// var ref = escape(location.href);
window.open('/'+t+'?ref='+ref,'conwin','width='+params[t].width+',height='+params[t].height+',status=1,resizable=1,left='+parseInt((screen.availWidth/2)-(params[t].width/2))+',top='+parseInt((screen.availHeight/2)-(params[t].height/2)-20)+'screenX='+parseInt((screen.availWidth/2)-(params[t].width/2))+',screenY='+parseInt((screen.availHeight/2)-(params[t].height/2)-20));
return false;
}
//--></script>
<link type="text/css" rel="StyleSheet" href="http://s5.ucoz.net/src/social.css" />
</head>
<body>
<!-- "' --><span class="pbBOTvIe">Бесплатный <a href="http://www.ucoz.ru/">конструктор сайтов</a> - <a title="Конструктор сайтов" href="http://www.ucoz.ru/">uCoz</a></span>
</body>
</html><div id="utbr8214" rel="s5"></div>
<!-- 0.67898 (s5 ) --> |
Так вот, может кто нибудь подскажет, как стандартными не знаю, может системными кодами uCoz или скриптами очистить код до минимума, что бы лишние скрипты и не вылазили, к примеру копирайт каким то ява скриптом скрывают, так может и все это можно? Мм?
