25 lines
818 B
Markdown
25 lines
818 B
Markdown
# Browser Extension (Manifest v3) Scaffold
|
|
|
|
This folder contains the Manifest v3 browser extension for Recipe Manager URL import.
|
|
|
|
## Files
|
|
|
|
- `manifest.json` — extension manifest
|
|
- `background.js` — service worker and context menu import flow
|
|
- `popup.html` / `popup.js` — basic action popup
|
|
- `options.html` / `options.js` — settings UI and persistence for Recipe Manager base URL
|
|
- `styles.css` — shared minimal styles
|
|
|
|
## Load locally (Chrome)
|
|
|
|
1. Open `chrome://extensions`
|
|
2. Enable **Developer mode**
|
|
3. Click **Load unpacked**
|
|
4. Select this folder: `browser-extension/`
|
|
|
|
## Settings
|
|
|
|
Open the extension popup and click **Open Settings**.
|
|
Set the Recipe Manager base URL (defaults to `http://localhost:3000`).
|
|
The value is stored in `chrome.storage.sync` and used by the context menu import request.
|