Skip to content

Instantly share code, notes, and snippets.

View tomm1996's full-sized avatar
🎯
Focusing

Tom McLean tomm1996

🎯
Focusing
View GitHub Profile
@tomm1996
tomm1996 / findElementByInnerText.js
Last active September 7, 2017 09:26
Recursive string search in DOM-Nodes using a generator
/*
* @param {HTMLElement} node
* @yields {Iterable.<*>}
*/
function* _deepTraverseElements (node) {
if (node.nodeType !== 1) {
return;
}
for (let i = 0; i < node.children.length; i++) {
@tomm1996
tomm1996 / WeakAuras.md
Last active May 6, 2020 21:14
WeakAuras Configs

Discipline Priest

Track all affected Atonement and Purge of the Wicked Targets

!TJ1xZPnoq8pn3d3djJTdn)5H7MbOK2md1qrojTVyIWwaQ1irTKjH8q(SF7kzJn2Mu6m5U7H7MKXyVA9QF7Q9p)Gq3WGqcfUOdjQqI3PUxCANqYQqsm(pS4mA03JtLR7ltKPGaFxZ)EMRNzU2j03503HMyMmnML2l)vcj9s4p)mnn(LhcKYenhe90O5ZvmD41NCU35Ex6CrNR6C2vND57opC(jDExHncNfs2MRQ)jUD8cjPSfCPiy7AwizrQmBDHUe(Zmer5pwfPogK6yqQJbPUio1YOnSufyUq)lDoZXbccrA4rf6YknnvBJjZ5cUAP9E4wRu0aP8flaly3MGDcm3AqinlLcMkBgBdtOjzZNZFkKmTFxsWusq3jGIMvcjFKrt0ll1DCkZOlz8GHdbXRzjj3eRSGiMndmLni8XbdhF9TGkziYiRtOBbeqe0vSCTrDjlLposa2X8zxWn3WW1YeLy24tuZsbwHFsgZYdwQiAI5EicOzPcAYDfXoVRkc6dIxaiI8JmAk7LhUolj5LhUFjxJrcbFffdUvJTKyi(GcNAdxkwKuaozE0tifWvgvXGiltSaIpWrOrqqPca4wr5I3qZT78(nYGyAduj1vdpUcoBF5H(Ym8JpytGPIOLY0XsoMi0FGFWGjaisHtqWUun1e2TkDnk1ACs)jdg4hsainNVi)O2CmCJWuW4w8Crfuh0dsMNVr9gfem6tdhCnw8NPbJpADr2V2y2yELNtKutRanKhi0E4TRYGQ5DjoyUTjLBF5w9BiokHQutPI4PqQDuJLBvO5Dm5pCXciBKmEYndi11cwZewRlpMdimcKSTXsPsWATd8ZAiF9M1hWNMBBF0080OMMptXMADi4qodtUWgy10c1dtD(I6U7wjc4Fn4ctGyxhNYUJEUhirkcA6glFuqEKdPn9kfyQwN1Atp