Чтобы убрать на странице циклические ссылки
1 2 3 4 5 6 7 |
<script> "use strict"; document.querySelectorAll("li a").forEach((item) => { if(item.href === document.location.href) item.href = "#"; }); </script> |