I'm working on a custom power up and I would like to get the id of the card I'm currently looking at when I click my power up, however my iframe is on another domain therefore I cannot use
parent.document.location
I have also tried
document.referrer
and
document.location.ancestorOrigins[0]
but they both only give "trello.com" without specifying the card id.
So is there another way to get the current card id? Thanks in advance.