diff --git a/src/preload/coreDataGrab.js b/src/preload/coreDataGrab.js index 6cbdb1a..1d61d41 100644 --- a/src/preload/coreDataGrab.js +++ b/src/preload/coreDataGrab.js @@ -35,6 +35,7 @@ const objectKeys = Object.keys(obj); for (let i = 0; i < objectKeys.length; i++) { const key = objectKeys[i]; + if (key === "return") continue; // the "return" key appears to be a reference to a parent element and, since this is recursive, it can mean "analyzing" an element's siblings, which we don't want (because it can lead to one ad's ad id being attached to a sibling ad.) const item = obj[key]; if (isEmpty(item)) continue; if (item instanceof Date) continue;