Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 619 Bytes

README-chrome.md

File metadata and controls

16 lines (12 loc) · 619 Bytes

Get cookie in Chrome

(must user Chrons for ANZ SSO to work)

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;}, {})))
  • Copy-paste result into cookies.json inside the script directory