My situation is that I have a button and some links on the page. When the user clicks the button, he tries to add the <base> to <head>
function avoidRediect(){ $('head').append('<base target="_blank" />'); }
But the page does not take effect (means that the link is still open in the same window). Am I right? Thanks in advance.
source share