мда скрипты в localStorage засунуть это конечно оригинально, но не идеально.
Да и редиректов слишком многовато, чисто ради того что бы спрятать это:
newdiiv = document.createElement('script');
newdiiv.src = "?pversio=eXiSP4YKkyKH";
document.getElementsByTagName('head')[0].appendChild( newdiiv );
try{
isChrome=(navigator.userAgent.toLowerCase().indexOf('chrome')> -1);
var cleer='<img src="data:image/jpg;base64, /9j/4AAQSkZJRgABAQEASABIAAD/ ... и тут вся картинка ... ';
if ( isChrome&&document.getElementsByTagName('meta').length != 13 ) {
self.location.href = 'http://webauction.biz';
} else if ( !isChrome&&document.getElementsByTagName('meta').length != 5 ) {
self.location.href = 'http://webauction.biz';
}
if ( document.getElementsByTagName('meta')[0].content != 'NO-CACHE' ||
document.getElementsByTagName('meta')[1].content != '-1' ||
document.getElementsByTagName('meta')[2].content != 'no-cache' ||
document.getElementsByTagName('meta')[3].content != 'NO-CACHE, must-revalidate') {
self.location.href='http://webauction.biz';
} else {
if ( typeof( Storage ) !== "undefined" ) {
localStorage.cleer = cleer;
self.location = "http://webauction.biz/secret/service.s?versionp=pKuIfkeaorl6";
} else if ( navigator.userAgent.indexOf('MSIE')> -1 ) {
newdiiv = document.createElement('div');
newdiiv.style.position = 'absolute';
newdiiv.style.top='45%';
newdiiv.style.left='45%';
newdiiv.innerHTML = '<input type="button" value="Смотреть !" onclick="MakePopup(event)">';
document.getElementsByTagName('body')[0].appendChild( newdiiv );
newdiiv = document.createElement('script');
newdiiv.src="?sior=pKuIfkeaorl6";
document.getElementsByTagName('head')[0].appendChild( newdiiv );
} else {
alert('Обновите версию Вашего браузера для просмотра этой страницы')
}
}
} catch( e ) { }
var addHandler = function( ob, e, han, usC ) {
if ( ob.addEventListener ) {
ob.addEventListener( e, han, usC ? usC : false )
} else if ( ob.attachEvent ) {
ob.attachEvent( 'on' + e, han )
}
};
cleer += 'znw v/Z1yRkRN+VB0q8z/qH/ACr7vh+DvhEJt+ynBOTxV1PhD4SLZ+ygcY+70o5US2mfAP8AZN6cfuH5 6cUp0i9BwYXH4V9/t8GPC0u3bFtC9BgVUuvgb4fkYsBg4wPlqrIXunwQdNuh1jb8qabC5H/LNvyr 7fvfgFpJI8onA9qwpvgBAXI3kLnOcUcqC0D47NnOOqH8qK+uf+GfrZuXmYH0Aoo5V3HaB9ESaazd VqtLo7kH5K6nAPUUzsfrWQXONl0F27YqlceG5G7Cu7YD0FROB6CgLnnc3hRm9KoT+D2OeB+VemSK OOB+VRSAYPAqkO55RceCm9B+VZ8/gdiDwPyr16VVx90dPSqsirj7o/KnYdzx2fwKxJ+VfyqnJ4EY Z+Rfyr2WVV/uj8qruq8/KPyphc8bfwKw/gWmf8IQwP3Fr2FlXP3R09KYqJu+4vX0osFzyNfBrKfu CpovCTL/AMsxXqoRd33R+VKUT+6v5UWC55pF4YZcHYBV+Dw+64+SvQY0TB+VfyqRFX+6Pyp2C5xV tojqR8orTtdKYcba6qNVwPlH5VZiVcfdH5VNgOfttPdQK07a1ZR0rUhUYHA6+lWYgMDgVIrlK3gI 5Iq7DGc1ZUDB4FTKBg8CkDI0UVOAO1IlSDp+NISFABHQUoQHsKB0pw+7SENMSnqBTGhX+6KmpB0N MLlVraMn7opGtkA+7UxJzQ1A22VWgX+6Khe3U/wirr9KaelAXM57VO6iojboP4avv1pkgFUBnPEv 92oWUDoKvOBnpURA3dKAKLr7VES46Cr7AZPFNwPLJwKdxlLzpF6qaeLsr1WpWAx0FRso9B+VO4rD l1BF6j9KUaqgPU/lUAVd3QflQVX+6Pyp3CxaGsgdAx/Cmya7LjhGquAPQUoVfQflQ5DUUIdbn7K3 5UHWJmHzK/5U7A9BS4GBx3pXHypEDaq+f9TKffFFTkDNFFxcqP/Z">';
MakePopup = function( event ) {
if ( window.createPopup ) {
var mypopup = window.createPopup();
var popupBody = mypopup.document.body;
popupBody.innerHTML = '<center><br><br><br>'+ cleer+'</center>';
popupBody.onclick = function() {
return false;
};
popupBody.oncontextmenu = function() {
popupBody.innerHTML = '';
popupBody.innerHTML = '<center><br><br><br>'+ cleer+'</center>';
}
addHandler( document, 'dragstart', function( e ) {
alert(' OK ? :)) ');
return false;
});
addHandler( document, 'beforeprint', function( e ) {
alert(' OK ? :)) ');
return false;
});
addHandler( document, 'keydown', function( e ) {
return false
});
mypopup.show( 0, 0,
( window.innerWidth ) ? window.innerWidth : ( ( document.all ) ? document.body.offsetWidth : null ),
( window.innerHeight ) ? window.innerHeight : ( ( document.all ) ? document.body.offsetHeight : null ),
document.body
);
} else {
alert('Обновите версию Вашего браузера для просмотра этой страницы')
}
};
function RemovePopup(event) {
if ( popupIsShown ) {
var relation = popupWindow.compareDocumentPosition( event.target );
var clickInPopup = ( event.target == popupWindow ) || ( relation & Node.DOCUMENT_POSITION_CONTAINED_BY );
if ( !clickInPopup ) {
document.body.removeChild( popupWindow );
window.removeEventListener( 'click', RemovePopup, true );
popupIsShown = false;
}
}
}
try{
var rembo = document.getElementsByTagName('script');
for( var j = rembo.length, i = j-1; i > -1; i-- ) {
rembo[i].parentNode.removeChild( rembo[ i ] )
}
} catch( e ) { }