diff --git a/shieldgrabber.js b/shieldgrabber.js index e0133c5..bf647e1 100644 --- a/shieldgrabber.js +++ b/shieldgrabber.js @@ -55,8 +55,8 @@ waitUntilExists(document, mainCardClass, -1).then(() => { // console.log(targets); targets.forEach(target => { waitUntilExists(target, containerClass, -1).then(() => { - waitUntilExists(target, linkDivClass, 2000).then(() => { - tryOpenMeetLink(target, linkDivClass, false); // If the link is already there -> try to open it + waitUntilExists(target, linkDivClass, 500).then(() => { + tryOpenMeetLink(target, linkDivClass, true); // If the link is already there -> try to open it observer.observe(target, { // Add observer anyway (in case it changes) childList: true, characterData: true, diff --git a/shieldgrabber.zip b/shieldgrabber.zip index 7b28d24..7650091 100644 Binary files a/shieldgrabber.zip and b/shieldgrabber.zip differ