Skip to content

Instantly share code, notes, and snippets.

@obar1
Created December 15, 2023 04:19
Show Gist options
  • Save obar1/b470f08bc96662ecb27562f91cc2c52d to your computer and use it in GitHub Desktop.
Save obar1/b470f08bc96662ecb27562f91cc2c52d to your computer and use it in GitHub Desktop.
get oreilly cookies

https://learning.oreilly.com/profile/

console.log(JSON.stringify(document.cookie.split(';').map(c => c.split('=')).map(i => [i[0].trim(), i[1].trim()]).reduce((r, i) => {r[i[0]] = i[1]; return r;}, {})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment