Skip to content

Instantly share code, notes, and snippets.

@harrypujols
Last active October 12, 2015 01:47
Show Gist options
  • Save harrypujols/3952396 to your computer and use it in GitHub Desktop.
Save harrypujols/3952396 to your computer and use it in GitHub Desktop.
Remove title attribute from image tag
var imgs = document.getElementsByTagName('img');
for (var i = 0; i < imgs.length; i++) {
imgs[i].removeAttribute('title');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment