I made a version that does this as a comparison.
Please note: I used document.querySelector, not document.querySelectorAll, if you use the "All" option, remember that you need to loop the result.
console.log( $('a[href*="vivo.sx/"]').attr('href') ); console.log( document.querySelector('a[href*="vivo.sx/"]').href );
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <a href="http://www.vivo.sx/tester">one</a>
Keith source share