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
<span>parent</span><span>.</span><span>document</span><span>.</span><span>location</span>
I have also tried
<span>document</span><span>.</span><span>referrer</span>
and
<span>document</span><span>.location.ancestorOrigins[0]</span>
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.