Bookmark Labeller is a lightweight and minimalistic Firefox browser extension that allows you to label bookmarks with your favourite emojis. The extension comes with default emojis which can be customised and interchanged. Use the action button to select emojis or right-click bookmarks to add emojis with the context menu.
Toggle emoji label for the current active URL
Note: This option is only available if the current active tab is bookmarked, otherwise the option to toggle emojis is disabled.
- Open the popup by clicking the extension icon.
- Click on an emoji to add it as a label to the currently active bookmark.
Customising your favourite emojis
- Open the popup by clicking the extension icon.
- Switching to 'Edit' mode by clicking the 'Edit' button in the popup.
- Click on an emoji to enter the text input.
- Paste/type your desired emoji.
- Click on the 'Save' button to save your changes, this will persist your favourites across sessions, and windows.
Toggle emoji label for any bookmark
- Right click any bookmark in the bookmarks bar to bring up the context menu.
- Find the option titled 'Bookmark Labeller'.
- Select from the different emojis to toggle the emoji for the selected bookmark.
- bookmarks - query and edit the title of bookmarks.
- contextMenus - toggle labels for bookmarks via the right click context menu.
- storage - persist user set emojis.
- tabs - query active tab to link corresponding bookmark.
Clone the repository, install all the dev dependencies and then use the start
command to prompt Parcel to start the development server. The development server watches for file changes and updates the dist
directory.
npm install
npm start
# start --> parcel watch manifest.json --host localhost --config @parcel/config-webextension
In another terminal use web-ext to load the extension temporarily in the browser. Any file changes will be picked up and will reload the extension automatically.
web-ext run
To build the project and make it ready for production, we use Parcel, a build tool requiring minimal configuration. First run the build
command to output the bundled and minified code, and then use the web-ext tool to build and package the dist
directory into a distributable .zip
file.
npm run build
# build --> parcel build manifest.json --config @parcel/config-webextension
web-ext build -s dist
Example: Custom emojis
Example: Bookmark with labels selected
Example: Label your recipes bookmark folder to indicate favourites and completed dishes
Context Menu: Label bookmarks right the right click context menu