Skip to content

Instantly share code, notes, and snippets.

@szhu
Last active November 27, 2018 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szhu/9c0800edd367065a86e4144577734806 to your computer and use it in GitHub Desktop.
Save szhu/9c0800edd367065a86e4144577734806 to your computer and use it in GitHub Desktop.
{
let clientAppState = JSON.parse($("#client-app-state").text.replace(/&q;/g, '"'))
let { HttpState } = clientAppState
let route = Object.keys(HttpState)[0]
HttpState[route].data.properties.identifier.uuid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment