Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2009 10:23
Show Gist options
  • Save anonymous/119880 to your computer and use it in GitHub Desktop.
Save anonymous/119880 to your computer and use it in GitHub Desktop.
document.addEvent('domready', function() {
var liens = document.getElements('a.blank');
for (var i = 0 ; i < liens.length ; i++) {
liens[i].onclick = function() {
window.open(this.href);
return false;
};
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment