[Greasemonkey] Basic JavaScript questions

Lenny Domnitser ldrhcp at gmail.com
Thu Jun 30 01:50:54 EDT 2005


Just keep killing the first one.

var headings = document.getElementsByTagName('h3');
while(headings.length) {
  var heading = headings[0];
  heading.parentNode.removeChild(heading);
}


More information about the Greasemonkey mailing list