Created
April 27, 2023 21:58
-
-
Save Areha11Fz/1f23f42afaeea30cc2c7e89acd937cc9 to your computer and use it in GitHub Desktop.
Get Token and ID (DO NOT SHARE THE RESULT ANYWHERE ELSE, EVEN IF YOU TRUST THE PEOPLE!!!)
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
function getCookie(name) { | |
const value = `; ${document.cookie}`; | |
const parts = value.split(`; ${name}=`); | |
if (parts.length === 2) return parts.pop().split(';').shift(); | |
} | |
console.log('ltoken='+getCookie('ltoken')+'; ltuid='+getCookie('ltuid')+';'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment