Skip to content

Commit 3d4b3a3

Browse files
committed
Remove Firefox support, extension popup, and browser profile names from browser extension
- remove building zip archives - move 'create zip' into `apps/editor/scripts/utils/create-zip.ts` - remove publishing scripts - migrate from universal firefox/chrome extension to chrome only - remove the ability to set browser profile name. all instances should use generic name. - remove the popup
1 parent 4f450e4 commit 3d4b3a3

59 files changed

Lines changed: 68 additions & 1366 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/browser/.env-sample‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎apps/browser/.gitignore‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
/out
2-
/out-firefox
3-
/extension-*.zip
42
/.env

‎apps/browser/README.md‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,15 @@ Serves two purposes:
1616
> [!IMPORTANT]
1717
> Prompt text is never submitted or response accepted automatically.
1818
19-
## Stores
19+
## Store
2020

2121
- [Chrome Web Store](https://chromewebstore.google.com/detail/autofill-for-code-web-chat/ljookipcanaglfaocjbgdicfbdhhjffp)
22-
- [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/autofill-for-code-web-chat/)
2322

2423
## Permissions
2524

2625
The extension functions with minimal permissions.
2726

2827
- `storage` - Used to temporarily store prompts for [a content script](https://github.com/CodeWebChat/CWC/tree/dev/apps/browser/src/content-scripts/send-prompt-content-script), and to save extension settings.
29-
- `alarms` (Chrome only) - Used to implement a keep-alive mechanism for the background service worker to ensure the WebSocket connection stays active.
28+
- `alarms` - Used to implement a keep-alive mechanism for the background service worker to ensure the WebSocket connection stays active.
3029

3130
The extension requests no host permissions. It connects to the local WebSocket server managed by the VS Code extension (`ws://localhost:55155`, or `55156` when a forwarded remote port had to be shifted).
32-
33-
Firefox only:
34-
35-
- `contextualIdentities` - Required for Firefox Containers support.
36-
- `cookies` (optional) - Required for Firefox Containers support.

‎apps/browser/dist-firefox/background.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.
-90.3 KB
Binary file not shown.
-3.46 KB
Binary file not shown.
-489 Bytes
Binary file not shown.
-864 Bytes
Binary file not shown.
-1.26 KB
Binary file not shown.

‎apps/browser/dist-firefox/index.css‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)