Commit 4409b08
authored
chore: rename extension to LightSession Pro for ChatGPT (#9)
* feat(chrome): add Chrome Web Store support
- Add separate manifests for Chrome and Firefox
- Fix cross-browser API compatibility (browser vs chrome)
- Fix Chrome MV3 async messaging (sendResponse pattern)
- Fix CustomEvent detail passing via JSON serialization
- Add auto-reload on settings change
- Add tabs permission for reload functionality
- Add .dev marker for debug mode detection
- Add comprehensive tests (188 total)
* fix(chrome): add retry logic for service worker wake-up
Chrome MV3 service workers can be inactive when popup opens, causing
sendMessage to return undefined. Added exponential backoff retry logic
(50ms, 100ms, 200ms) to handle service worker wake-up delay.
- Add MESSAGE_RETRY_DELAYS_MS constant for backoff intervals
- Validate response is not undefined before returning
- Check chrome.runtime.lastError in Chrome context
- Add 5 new tests for retry scenarios
* chore: rename extension to LightSession Pro for ChatGPT
Update name in both Chrome and Firefox manifests for better
visibility in extension stores.1 parent fbce3d3 commit 4409b08
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments