$ (a) .each (swyddogaeth (mynegai, eitem) {var url = $ (hwn) .attr (“href”); os (url.indexOf (“/ visit /”)! == - 1) {$ ( hwn) .attr (“rel”, “nofollow”);}});