- JavaScript 67.4%
- CSS 16.3%
- HTML 15.4%
- Shell 0.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| icoane | ||
| CITESTE.md | ||
| comun.js | ||
| construieste.sh | ||
| fereastra.html | ||
| fereastra.js | ||
| fundal.js | ||
| LICENSE | ||
| manifest.json | ||
| README.md | ||
| setari.html | ||
| setari.js | ||
| stil.css | ||
SendGarden - build instructions
English (for the reviewer)
This add-on has no build step. There is no bundler, no minifier, no transpiler, no npm packages and no
third-party libraries. Every file in the package (manifest.json, *.js, *.html, stil.css,
icoane/frunza.svg) is hand-written and included exactly as it appears in this source archive. The two PNG icons
(icoane/frunza-48.png, icoane/frunza-96.png) are the same SVG rendered once with librsvg, also included as they are:
rsvg-convert -w 48 -h 48 icoane/frunza.svg -o icoane/frunza-48.png
rsvg-convert -w 96 -h 96 icoane/frunza.svg -o icoane/frunza-96.png
Requirements: any operating system with the zip command (tested on Linux, Info-ZIP 3.0).
Node and npm are not needed.
Build, step by step:
- Unpack this source archive.
- Run
sh construieste.shin the unpacked folder. - The result is
sendgarden-1.2.1.xpi, with the same files as the submitted package.
The script only runs:
zip -r -X sendgarden-1.2.1.xpi manifest.json comun.js fereastra.js fundal.js setari.js fereastra.html setari.html stil.css icoane
What the add-on does: when the user asks it to, it sends the current page URL (or a link, a YouTube video URL or an image URL), its title, an optional comment, the selected text and quotes the user collected from that page, and, for recipes, the recipe data the page itself publishes as schema.org JSON-LD, to the user's own website (address and key set by the user in the options page), where it is saved as a draft. It reads a page only when the user opens the popup on it (activeTab), sends nothing anywhere else and collects no data.
Română
Extensia nu se compilează: fișierele sunt scrise de mână și intră în pachet exact așa. Pachetul se face cu
sh construieste.sh, care rulează doar comanda zip de mai sus. Nu e nevoie de Node sau npm.