getElementsByTagName gotcha: the “live NodeList”
Maybe this is isn’t new for most people but it certainly confused the hell out of me.
I am working on a dynamic script loader. The basic concept is this:
Get all script tags in the document
Loop over them and find the one with the string “?load=” in its src attribute
Extract a list of scripts to include [...]
