GithubHelp home page GithubHelp logo

dcc.safariextension's Introduction

Direct Currency Converter

Version: 2.4.11.0
Date: 2016-09-19

After installation, you'll have a new menu button in the toolbar.

Conversion is enabled or disabled by the "Toggle conversion" menu.

The Settings tab is opened with the "Open settings" button.
Changed settings are saved with the "Save" button in the settings tab.
Settings can be reset to default with the "Reset" button.

"Open test page" opens a test page with various price examples for all currencies.

Currency rates are taken from Yahoo Finance and updated when you start the program or when you switch currency.

Your location is used to set your default region and currency (for example Finland - euro). It is guessed using the freegeoip.net service.

If conversion does not work, it probably means that there was no reply from Yahoo. Try to reload the browser (F5 button) and check the internet connection. Also, force a reload by switching "to currency" from settings tab, save, and reload the web pages.

You can convert to and from any existing currency code as defined by ISO 4217, including precious metals, if Yahoo provides a conversion rate for the currency.
There are currently 16 codes with no conversion rates: BOV, CHE, CHW, COU, CUC, SSP, USN, UYI, XBA, XBB, XBC, XBD, XSU, XTS, XUA, XXX.

A few currencies (CHF, DKK, EUR, GBP, ISK, JPY, NOK, RUB, SEK and USD) are pre-selected for conversion. You can select all currencies, but having too many currencies selected may clutter the pages and result in slow performance.

The conversion is made according to a best guess, checking for ISO currency codes (USD), the currency name in plain text (dollars) and popular abbreviations (US$).
Also, currency names in several languages are checked, for example Arabic, Thai and Mongol.
Ambiguous currencies are converted in the priority order you want. For instance, "kr" can mean SEK, DKK, NOK or ISK, and is converted to the first possible currency
in the currency list in the settings tab.
The "from currency" code is shown in brackets after the original value like this: 6,67 € (60 kr [SEK]).

Amounts without units are not converted.
Also, if amount and unit are in different HTML elements (for example when they have different colours or sizes) conversion cannot be done.

Optionally, if selected in the settings tab, some traditional units of measurement (such as miles and calories) are converted to SI units (such as kilometres and kilojoules).

Based on code from Simple Currency Converter
https://addons.mozilla.org/addon/simple-currency-converter/

Runs on Safari 9 and later versions.

External libraries used:
jQuery 2.1.3
jQuery UI 1.11.2

Icons provided by Iconfinder.

Author: Per Johansson, Johanssons Informationsteknik JOINT, Åland Islands, Finland.

Web: http://www.joint.ax/

History

Version: 2.0.0
Date: 2014-11-30
First Release for Safari.

Version: 2.0.1.0
Date: 2015-01-19
Improved support for USD and GHC.

Version: 2.0.2.0
Date: 2015-01-21
Fixed an error with decimal calculation.

Version: 2.0.2.1
Date: 2015-01-28
Internal changes.

Version: 2.0.2.2
Date: 2015-02-16
Internal changes.

Version: 2.0.3.0
Date: 2015-03-11
Added support for US cents (¢, ¢).
Improved support for non-English characters in price matches.
Internal change: rewrote price regexes.
Internal change: Updated jQuery and jQuery UI versions.

Version: 2.1.2.0
Date: 2015-06-07
Internal change: porting from Firefox/Chrome

Version: 2.2.0.0
Date: 2015-08-14
Currency and country name changes from ISO 4217 Amendment Number 160
Settings screen currency selection improved. Also support for small screens and touch screens.

Version: 2.3.0.0
Date: 2015-10-10
Fix: the priority order of currencies to convert from. Users will have to save the currency list again. Sorry for that.
Better support for euro currency recognition in various languages.

Version: 2.4.1.0
Date: 2015-11-17
Added an improved tooltip in the upper left corner that shows the conversion used for each element. It won't hide the original tooltip any more. It can be turned off and on in the settings.
Original price and original currency in brackets can now be hidden and shown separately in the settings.
Fix: some settings had been disabled.
Fix: an error with CHF and SEK conversion.
Fix: don't suppress original tooltips

Version: 2.4.2.1
Date: 2015-12-02
Improved support for subunits (cents etc.).
Fix: works with dynamically changed data (again).

Version: 2.4.11.0
Date: 2016-09-19
Various changes brought from the Chrome/Firefox versions.

dcc.safariextension's People

Contributors

hawk-lord avatar

Watchers

 avatar

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.