crashnet
Member
Posted 2 years ago #
is it supposed to leave the target attribute empty?
<a title="My Video" href="javascript:window.open('http://www.youtube.com/watch?v=abcdefgh'); void(0);" target="">My Video</a>
http://wordpress.org/extend/plugins/open-external-links-in-a-new-window/
kezze
Member
Plugin Author
Posted 2 years ago #
No, it isn't. Thanks for letting me know.
I changed the setAttribute-line to
document.links[t].removeAttribute('target');
The revised version will be released soon.
/Kristian