Maltasupermarket.com provides a handy price per unit value for each product on their site but unfortunately they do not provide the ability to search by this value. This Web Extension gives the website this ability.
The extension dynamically injects a new sort by option called "Price: Lowest per Unit first" within the sort by dropdown. Once clicked, the extension will go through all the visible products, sorts them, then replaces the products with their sorted counterpart.
Once slected the sort setting will be peristed throughout any navigation done through the site until a native sort by option is selected.
This plugin does not collect any data from the user and does not have the ability to remotely control, inject or otherwise communicate with a remote service.
Pull requests with the aim of enchancing the experience of the maltasupermarket.com website are encouraged.
Command | Description |
---|---|
npm run start |
Starts a service that will build the dist files on file change |
npm run build |
Builds the dist files |
npm run zip |
Created a zip file of the dist folder to be uploaded to the Chrome App Store |
npm run lint |
Lint the project and auto fix issues where possible |
Generate the dist folder by executing npm run build
or npm run start
.
Navigate to chrome://extensions/
on your Chrome browser.
Enable Developer Mode by clicking the toggle at the top right of the page, a sub menu should appear.
Click on Load unpacked and select the dist folder. The extension is now installed.
When the dist folder is updated, either click on the reload icon next to your Chrome extension, or you can use Extensions Reloader which gives the convenient ability to reload all unpacked extensions through a button click.