bu kodlarda sorun var mı, daha temiz nasıl yazılır yardımcı olursanız sevinirim. amaç yeni sekmede açma ve rel ugc nofollow tagını ekleme
<script>
$(function(){
$('.user a').attr("target","_blank").attr("rel","ugc nofollow");
});
</script>
<script>
$(function(){
$('.user a[rel$=nofollow]').attr("target","_blank").attr("rel","ugc nofollow");
});
</script>