You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In main.js:
When trying to access the Gmailr 'body' and 'canvas' objects, it seems that they are only responsive to JQuery calls $("tagname", [object]). Selecting by class or id doesn't seem to return any elements for known id's or classes. Standard Javascript DOM traversal also doesn't seem to work on the objects.
I have been able to reach the DOM using notations such as:
I may just need to dig deeper into the library, but has anyone else found similar issues?
Also, this may take more digging, but I can't seem to find where top is explicitly declared (I was hoping maybe it could be used to add the support for standard Javascript DOM traversal to the Gmailr object.
The text was updated successfully, but these errors were encountered:
In main.js:
When trying to access the Gmailr 'body' and 'canvas' objects, it seems that they are only responsive to JQuery calls $("tagname", [object]). Selecting by class or id doesn't seem to return any elements for known id's or classes. Standard Javascript DOM traversal also doesn't seem to work on the objects.
I have been able to reach the DOM using notations such as:
top.document.getElementsByTagName("iframe")[4].contentDocument;
I may just need to dig deeper into the library, but has anyone else found similar issues?
Also, this may take more digging, but I can't seem to find where top is explicitly declared (I was hoping maybe it could be used to add the support for standard Javascript DOM traversal to the Gmailr object.
The text was updated successfully, but these errors were encountered: