При установке данного скрипта, картинки с фотохостингов uploads.ru, radikal.ru и ifotki.info, будут открываться не в новом окне а прямо на сайте.

в html-верх вставляем:
<script type='text/javascript' src='https://forumstatic.ru/files/0012/b1/b7/21843.js'></script>
в html-низ вставляем:
<script type="text/javascript">
$('.post-content').click(function(){
var Col = $(this).find('img.postimg').length;
var Cont=$(this).attr('id');
$(this).find('p:has(a) a').each(function(){
var PR = $(this).find('img.postimg').attr('src');
var HR = $(this).attr('href');
if(PR.indexOf("/t/")!= -1) {prev=/(.*?)uploads\.ru\/t\/(.*?)/gim;PR=PR.replace(prev, "$1uploads.ru/i/$2");}
if(PR.indexOf("ifotki.info")!= -1) {prev=/(.*?)ifotki\.info\/thumb\/(.*?)/gim;PR=PR.replace(prev, "$1ifotki.info/org/$2");}
if((HR.indexOf("uploads.ru")!= -1) || (HR.indexOf("ifotki.info")!= -1)){$(this).attr('href',PR);}
if (Col==1) {$(this).attr('rel','iLoad')};
if (Col>=2) {$(this).attr('rel','iLoad|'+Cont)};
});});
</script>Скрипт основан на плагине iLoad
Автор скрипта: Romych
Отредактировано admin (2013-09-06 15:03:14)
))