Tiggles ツ
1/3/2019 - 3:16 PM

ElementChecker.js

checks for an element periodically, then runs script

function checkForItem(elementName) {
    if ($(elementName).length >= 1) {
        clearInterval(elementChecker);
        //Perform whatever actions you want, here.
    }
}
var elementChecker = setInterval(function() { checkForItem(".someElement"); }, 500);