Last active
September 22, 2021 06:03
-
-
Save alexcu/fb6995a99f82a380892641e2d2dafc1e to your computer and use it in GitHub Desktop.
Extract my Locke ID from realestate.com.au's cookies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Balert(JSON.parse(atob(document.cookie.split(%22%3B%22).map(c%20%3D%3E%20c.trim()).filter(c%20%3D%3E%20c.startsWith(%22reauinf%22))%5B0%5D.split(%22%3D%22)%5B1%5D)).lid)%7D)() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON.parse(atob( | |
document.cookie.split(";") | |
.map(c => c.trim()) | |
.filter(c => c.startsWith("reauinf"))[0] | |
.split("=")[1] | |
)).lid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save the code in bookmarklet.js as a bookmark for easy access