*****
Архив скриптов
Страница: 1
Сообщений 1 страница 2 из 2
Поделиться22009-09-02 17:31:18
Скрыть все ссылки в сообщениях от гостей
Код:
<script type="text/javascript"> if (!document.getElementById('navprofile')) { var posti=document.getElementById("pun-main").getElementsByTagName("div") var oj=0 for (oj=0; oj<=(posti.length-1); oj++) {if (posti[oj].className=="post-content") {posti[oj].innerHTML=posti[oj].innerHTML.toLowerCase().replace(/<a href/g, "<font color='red'>Зарегься чтобы увидеть ссылки</font><a style='display: none;' href")}} } </script>
Страница: 1