I need help retrieving the expiration date of a third-party cookie programmatically using JavaScript. Even though I can see the expiry time in the browser's DevTools (refer to the screenshot at https://i.sstatic.net/BW072.png), I am struggling to figure out how to access this information through code.
I have tried using "document.cookie", but it only gives me the value of the third-party cookie, not the expiration date. Is there a way to get the expiry date using JavaScript?
If anyone has any insights or sample code snippets that could assist me in resolving this issue, I would greatly appreciate it. Thank you in advance!