Skip to content

Instantly share code, notes, and snippets.

@munierujp
Last active February 24, 2021 11:22
Show Gist options
  • Save munierujp/5d68b8d0b3fb55fc0681fcaa27fb3671 to your computer and use it in GitHub Desktop.
Save munierujp/5d68b8d0b3fb55fc0681fcaa27fb3671 to your computer and use it in GitHub Desktop.
((function () {
const backup = localStorage.getItem('backup')
const { data } = JSON.parse(backup)
const searchParams = new URLSearchParams(data)
const params = Object.fromEntries(searchParams)
console.log(params)
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment