Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
toanalien authored Sep 8, 2024
1 parent 92f22c5 commit 6170037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is done using `Firefox` Browser. Other browsers do not have `Copy All` feat
2. Open the developer tools with `F12`
3. Access the profile page in the browser: [https://learning.oreilly.com/profile/](https://learning.oreilly.com/)
4. Enter the command in the console:
`opy(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(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;}, {})))`
5. Paste this into any file. For this demo, we will assume you paste it into `cookie.json`.

Here is an example of how a `cookie.json` looks like. You do not need every field, this is just to show the syntax:
Expand Down

0 comments on commit 6170037

Please sign in to comment.