- Firefox: declare data collection in the manifest (websiteContent and browsingActivity, required), which addons.mozilla.org has demanded of new extensions since November 2025, and require Firefox 140, which shows that consent itself. The Chrome/Edge package leaves both out. - Publish the clipper's privacy policy on the docs site, included from Web-Clipper/store/PRIVACY.md so there is one text. - STORE.md: a checklist before submitting (publisher and add-on id, public policy address, screenshots, reviewer access) and the same data answers for every store, including Chrome's privacy practices form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
2.1 KiB
Markdown
34 lines
2.1 KiB
Markdown
# Docwell Web Clipper
|
|
|
|
A browser extension (Manifest V3, Chrome, Edge and Firefox 140+) that saves the page you are reading to Docwell as a new page: the article on it (found with Mozilla's Readability), or only what you selected, as Markdown with its links and pictures, under a note saying where it came from.
|
|
|
|
It reads a page only when you click it, turns it into Markdown inside the extension, and sends it to your Docwell server through the import API (`POST /api/v1/spaces/{id}/import`). It talks to no other server.
|
|
|
|
## Build
|
|
|
|
```sh
|
|
npm install
|
|
npm run build -w @docwell/web-clipper
|
|
```
|
|
|
|
The extension is in `Web-Clipper/dist/`.
|
|
|
|
- **Chrome / Edge:** open `chrome://extensions`, turn on *Developer mode*, choose *Load unpacked* and pick `dist/`.
|
|
- **Firefox:** open `about:debugging#/runtime/this-firefox`, choose *Load Temporary Add-on…* and pick `dist/manifest.json`. For a lasting install, sign the zipped `dist/` folder through addons.mozilla.org.
|
|
|
|
## Set up
|
|
|
|
1. In Docwell, open *Account settings → API tokens* and create a token with *Read and write* access.
|
|
2. Open the clipper's options (right-click its button → *Options*), enter the address you open Docwell at and the token, and choose *Connect*. The browser asks once to let the clipper reach that server.
|
|
3. Pick the workspace and the space new clips go to, and save.
|
|
|
|
The clipper finds the API through the web app's `/config.json`, so it works when docwell-web and docwell-server have different addresses.
|
|
|
|
## Use
|
|
|
|
Click the Docwell button in the toolbar. Check the title and the space, then *Clip article* (or *Clip selection* when text is selected), or *Whole page* to keep everything on the page. When it is saved, *Open in Docwell* opens the new page.
|
|
|
|
## Publish
|
|
|
|
`npm run package -w @docwell/web-clipper` builds store-ready zips for Chrome, Edge and Firefox (plus the source zip Firefox reviewers ask for) in `Web-Clipper/release/`. [store/STORE.md](store/STORE.md) walks through each store with the listing texts and permission justifications, and [store/PRIVACY.md](store/PRIVACY.md) is the privacy policy to link from the listings.
|