Coder Social home page Coder Social logo

amitness / nc Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 4.0 191 KB

Browser extension that automatically localizes prices on webpages to Nepalese Currency.

License: MIT License

HTML 28.74% CSS 5.02% JavaScript 66.24%
chrome-extension price-comparison

nc's Introduction

NC

WebExtension that automatically localizes prices on webpages to Nepalese Currency.

Imgur

How the extension works

  • The extension fetches latest currency exchange rate in the morning and caches it
  • Converts all prices on webpages in foreign currency to equivalent NC.

For example, when you visit amazon.com, you'll get all prices in $X replaced with Rs. XXX.

Before

Imgur

After using extension

Imgur

Installation

  • Clone the repo.

    git clone https://github.com/amitness/NC

Testing on Firefox.

Install web-ext tool using npm/yarn.

yarn global add web-ext

Navigate to the project and run

web-ext run

You can see extension in action.

Installing on Firefox.

Build the extension and load it from Addons -> Extensions -> Install Addon from file.

web-ext build

Installing on Chrome

  • Load the extension into Google Chrome as an Unpacked Extension:

    • Navigate to (1a) chrome://extensions or (1b) select Menu > More Tools > Extensions.

    • Enable the (2) developer mode at top right.

    • Click (3) "Load Unpacked Extension".

    • Navigate to the cloned folder.
      For additional help, refer the official guide for Chrome.

      Installation screenshot

License

This project is licensed under the MIT License - see the LICENSE file for details.

nc's People

Contributors

amitness avatar dineshdb avatar prabinzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nc's Issues

Update extension icon

  • Find a relevant icon that allows reuse
  • Replace current icon with it
  • Add attributions to README

Port to Firefox?

Have you thought about porting this to firefox? New Webextension api would not take much changes except few tweaks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.