document.getElementsByTagName(\"*\") works for IE/Firefox/Opera, But doesn\'t work for Chrome and Safari.
document.getElementsByTagName(\"*\")
document.all works for IE/Chrom/S
document.all
document.getElementsByTagName() works perfectly in all modern browsers (everything newer than IE5).
document.getElementsByTagName()
If it doesn't seem to work in Chrome or Safari, then it's most likely just a symptom of an error you have elsewhere.