我使用这一点代码添加一个'别针'按钮到我的WordPress的网站。我添加了目标= “_blank”,它仍然在同一个窗口中打开。如何在单独的窗口中打开Pinterest按钮?
<a target="_blank" href='javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());'>Pin it</a>