Skip to content

This a browser extension for chrome that converts Dollar prices on a webpage to Naira, using the exchange rates gotten from openexchangerates.com

License

Notifications You must be signed in to change notification settings

chiazor/converter-extension

Repository files navigation

converter-extension

This a browser extension for chrome that converts Dollar prices on a webpage to Naira, using the exchange rates gotten from openexchangerates.com

Author: Osayamen Osaretin Email: [email protected]

To use this extension(while I find the money to get a developer account):

  1. Download all the files and put them all in a single folder named "converter"
  2. Open Chrome or a new tab, then go the the extension page (http://chrome://extensions) or from the options at the far right, go to more tools and then extensions.
  3. Enable developer mode by clicking the toggle button on the top right
  4. Drag the folder to this page and it will automatically be added to your browser extensions.
  5. Enable and the blue icon will appear next to the address icon
  6. Use on any page that has dollar prices and they'd become Naira prices :). (try https://www.amazon.com/gp/goldbox/ref=nav_cs_gb)

or:

  1. click on the "load unpacked extension" button
  2. Navigate to the converter folder and select it
  3. Use on any page that has dollar prices and they'd become Naira prices :). (try https://www.amazon.com/gp/goldbox/ref=nav_cs_gb)

manifest.json: Compulsory json file for chrome extensions, tells Chrome everything about the extensions, including the content and background scripts

convertToNaira.js: content script that contains the actual application logic. Converts prices to naira and replaces them on the web page

getExchangeData.js: collects exchange rates for api using jquery

background.js: collects user click on browser_action. sends messages to main content script (convertToNaira.js)

jquery-3.2.1.min.js: jquery library

money.js: Library that handles currency conversion

About

This a browser extension for chrome that converts Dollar prices on a webpage to Naira, using the exchange rates gotten from openexchangerates.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published