Commit a0a9ff7
fix(linkedin-snippets): search-results accumulator survives full page loads
The snippet's accumulator was a bare window global, written when
LinkedIn's Next pagination was a soft SPA navigation. Pagination now does
a FULL page load (observed on the operator's capture run 2026-07-27),
wiping window every page — so each run restarted the table at zero
instead of appending.
The accumulator now writes through to localStorage after every run and
restores from it on paste, so page 2 reports "restored N rows" and keeps
counting. __liClear() clears both memory and the stored copy. Usage flow
unchanged: paste per page, __liDownloadCsv() when done.
Files changed:
- tools/browser-snippets/linkedin/linkedin-search-results-to-csv.js
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RW28dw3kQAKXr2ZNefCukE1 parent 5c3038e commit a0a9ff7
1 file changed
Lines changed: 40 additions & 8 deletions
Lines changed: 40 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
69 | 82 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
73 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
74 | 90 | | |
75 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
76 | 102 | | |
77 | 103 | | |
78 | 104 | | |
| |||
185 | 211 | | |
186 | 212 | | |
187 | 213 | | |
| 214 | + | |
188 | 215 | | |
189 | 216 | | |
190 | 217 | | |
| |||
227 | 254 | | |
228 | 255 | | |
229 | 256 | | |
230 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
231 | 263 | | |
232 | 264 | | |
233 | 265 | | |
0 commit comments