Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save EeroHeroHeino/e798217d5311d57405fc to your computer and use it in GitHub Desktop.
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