66 lines
1.8 KiB
Markdown
66 lines
1.8 KiB
Markdown
# Container Bookmarks
|
||
|
||
A Firefox extension that associates bookmarks with containers. When you click a bookmark, it automatically opens in the assigned container.
|
||
|
||
## Features
|
||
|
||
- **Right-click context menu**: Assign containers to any bookmark
|
||
- **Automatic container opening**: Bookmarks open directly in their assigned container
|
||
- **Popup overview**: View and manage all container-assigned bookmarks
|
||
- **Auto-cleanup**: Mappings are removed when bookmarks or containers are deleted
|
||
|
||
## Installation
|
||
|
||
### Temporary Installation (for development)
|
||
|
||
1. Open Firefox and navigate to `about:debugging#/runtime/this-firefox`
|
||
2. Click **"Load Temporary Add-on..."**
|
||
3. Navigate to this folder and select `manifest.json`
|
||
4. The extension icon will appear in your toolbar
|
||
|
||
### Permanent Installation
|
||
|
||
Package the extension as a `.xpi` file and submit to [addons.mozilla.org](https://addons.mozilla.org) for review.
|
||
|
||
## Usage
|
||
|
||
### Assigning a Container to a Bookmark
|
||
|
||
1. Right-click on any bookmark (in bookmark toolbar, menu, or sidebar)
|
||
2. Click **"Set Container"**
|
||
3. Select the container you want
|
||
|
||
### Opening a Bookmark in a Specific Container (One-time)
|
||
|
||
1. Right-click on any bookmark
|
||
2. Click **"Open in Container"**
|
||
3. Select the container
|
||
|
||
### Viewing Assigned Bookmarks
|
||
|
||
1. Click the extension icon in the toolbar
|
||
2. See all bookmarks with container assignments
|
||
3. Click **×** to remove an assignment
|
||
|
||
## Permissions
|
||
|
||
- `bookmarks`: Read and manage bookmarks
|
||
- `contextualIdentities`: Access container information
|
||
- `cookies`: Required for container support
|
||
- `storage`: Persist bookmark-container mappings
|
||
- `tabs`: Open tabs in specific containers
|
||
- `menus`: Add context menu items
|
||
|
||
## Development
|
||
|
||
```bash
|
||
# Clone the repository
|
||
git clone https://github.com/yourusername/firefox-container-tab.git
|
||
|
||
# Load in Firefox for testing (see Installation above)
|
||
```
|
||
|
||
## License
|
||
|
||
MIT License
|