Coder Social home page Coder Social logo

convertr's Introduction

Convertr

When you open a webpage, Convertr scans the page and converts all the units to your measuring system of choice automatically. For example, let's say you are from mainland Europe and used to the metric system.

You might come across a recipe that uses fluid ounces and pounds online, but instead of searching Google for the conversion of all these units, Convertr takes care of them for you. Without even noticing it, all the units on the page are in millilitres and grams.

It works the other way around as well; if you are from the US and used to the imperial system, it will convert all the metric units to imperial ones.

Development instructions

  1. run npm install

  2. run grunt --reload-extension

  3. open chrome://extensions/ and load the build as unpacked extension

Installation instructions

These instructions assume you have Google Chrome installed and are using it right now. If not, please head to the Google Chrome page and follow the instructions there.

  1. Go to the Releases of the GitHub repo (click here).

  2. Download the Source.crx file of the latest release.

  3. Open chrome://extensions. (Click here in Chrome to open it)

  4. Drag and drop the Source.crx file onto the Extensions page you opened in the last step.

  5. Click Add on the popup.

And that's it! You have successfully added the extension - try it out on the test page!

convertr's People

Contributors

mxstbr avatar neuling avatar simmac avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

convertr's Issues

False flags and some unexpected behaviour with "F"

The converter detects (number)F as degrees Fahrenheit, which is expected.
But somehow the string (some character)(number)F does something weird.

I came across this by looking up a special phone: "Galaxy S5 G900F" apparently becomes "Galaxy S 900.00 °F 900.00 °F ".

RegExp problems

Regexes match "noch 6 Stück remaining" -> implement check that after number is white space char.

screen shot 2015-11-26 at 17 45 00

Regexes match "1st of April"

screen shot 2015-11-26 at 20 22 04

Currencies

Convert all unknown currencies to the know currency using some sort of API for the data.

Dates

"May 1st" as a date is converted to "May 6.3kg", which doesn't make much sense.

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.