Skip to content

Maximize Avios with every purchase! Get notified on Avios-awarding sites and find participating retailers

Notifications You must be signed in to change notification settings

opista/avios-reminder

Repository files navigation

Avios Reminder

A Chrome Extension to notify you when you're on a site that can reward you with Avios for your purchase

Example Screenshot

Chrome Web Store URL

How it works

  1. The extension checks to see if the company of the site you're on has an Avios partnership
  2. If it does, a popup will appear to let you know.
  3. If you're already logged in, the extension will auto-collect Avios for you.
  4. Otherwise, click the button on the popup and click through to the retailer yourself!

Your Data

  • No data is collected on you AT ALL. This extension's code has been made available so that you can see everything that is going on. Google does not allow you to obfuscate code, so you can also inspect the extension.

Installing

  1. Check if your Node.js version is >= 20. Change or configure the name of your extension on src/manifest.
  2. Run yarn install to install the dependencies.

Developing

run the command

$ cd avios-reminder

$ yarn dev

Chrome Extension Developer Mode

  1. set your Chrome browser 'Developer mode' up

  2. click 'Load unpacked', and select avios-reminder/build folder Normal FrontEnd Developer Mode

  3. access http://0.0.0.0:3000/when debugging the popup page, open http://0.0.0.0:3000//popup.htmlwhen debugging the options page, open http://0.0.0.0:3000//options.html

Packing

After the development of your extension run the command

$ yarn build

Now, the content of the build folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide for more info about publishing.


Changelog

[1.6.0] - 2024-11-04

  • Introduces "minimised" tab to be less intrusive
    • Position of tab is maintained across websites
    • Closing a popup will prevent the tab & popup from appearing again on that website until the browser is closed
  • Resolves bug with CSP Issue on Chrome 130+

[1.5.0] - 2024-03-20

  • Increases retailer cache lifetime to 5 days
  • Displays multiple deals per website if they exist

[1.4.0] - 2024-03-07

  • Introduces better API
  • Cleans up code

[1.3.0] - 2024-01-07

  • Improves domain identification
  • Automatically applies for Avios on websites where possible
  • Auto-focuses search input in retailer list dropdown

[1.2.0] - 2023-09-16

  • Migrates popup to web components to prevent style collisions
  • Updates styling

[1.1.5] - 2023-09-14

  • Fix popup incorrect URL bug

[1.1.4] - 2023-09-11

  • [BREAKING] API endpoint has changed
  • Retailer list is fetched on installation/update

[1.1.3] - 2023-08-15

  • Fixed storage bug that caused retailer list to be fetched on every page load. The retailer list will be updated every 24 hours

[1.1.2] - 2022-07-28

  • Migrate extension to manifest V3

[1.1.0] - 2020-12-15

  • Added popup to search through existing list of retailer deals
  • Fixed URL that BA broke (!!!)

About

Maximize Avios with every purchase! Get notified on Avios-awarding sites and find participating retailers

Resources

Stars

Watchers

Forks