I have a website but most link do not have _blank attribute and I cannot edit all of these links. is it possible to achieve this problem with jQuery?
For example:
<a href="http://wikitechsolutions.com">Home</a>
<a href="http://wikiwhy.net" target="_blank">Other site</a>
<a href="index.html">Home</a>
<a href="/">Home</a>
$('a[href^="http://"], a[href^="https://"]').not('a[href*=gusdecool]').attr('target','_blank');