$ (a) .each (Funktion (Index, Element) {var url = $ (this) .attr ("href"); if (url.indexOf ("/ visit /")! == - 1) {$ ( this) .attr ("rel", "nofollow");}});