Answer the question
In order to leave comments, you need to log in
How to automatically add target="_blank" to all links on the site?
Website arthata.by
I want to test a hypothesis and add target="_blank" to all links.
How can I do it automatically using a script?
Answer the question
In order to leave comments, you need to log in
$(document).ready(function(){
$('a').attr('target', '_blank');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question