queryselectorall exclude class code example
Example: how to exclude a specefic tagname from a javascript query search
var elems = document.querySelectorAll("body > *:not()");
//tag will go inside the not function like so:
var elems = document.querySelectorAll("body > *:not(img)");