Есть скрипт, скрывающий ссылки от гостей:
<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>Нужно чтобы одна единственная ссылка была доступна всем, вот эта: http://prizrak.ws/pages/hikaru_no_go
Возможно ли внести в скрипт изменение и добавить исключение?
Отредактировано prizrak (Чт, 7 Апр 2011 00:07:05)

В HTML низ