New metaquery api

Currently a work in progress
I believe so? It's the same as the old version, but that answer might differ between browsers.

Currently going through https://developer.mozilla.org/en-US/docs/Web/API/document.getElementsByTagName and seeing if I can work it out.