Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var a = document.getElementsByTagName("a")
for (i=0;i<a.length;i++) {
if (a[i].target=="_blank") {
a[i].target="_self"
}
}
callback(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment