Kawase

LiveOpen source · MIT licence

A Firefox extension that rewrites every price on the web into the currency you actually think in.

Kawase screenshot

Overview

Kawase (為替) is a Manifest V3 Firefox extension that finds prices in a page and converts them at the day's published reference rate, with the original amount, the rate applied, and its timestamp on hover. It reads 166 currencies across symbols, ISO codes, and CJK markers, parses six numeral scripts and every common grouping convention, and resolves ambiguous symbols like $ and ¥ from page metadata, schema.org data, or the domain before falling back to your preference. Plain JavaScript, no build step, 113 unit tests.

Highlights

  • 166 currencies detected by symbol, ISO code, or CJK marker, including 3,980円 and 원 style suffixes
  • Numeral parsing across Arabic-Indic, Persian, Devanagari, Bengali, Thai, and fullwidth digits, plus Indian lakh/crore grouping and magnitude suffixes like $1.2M and ¥2.5億
  • Ambiguous symbol resolution from page metadata, schema.org structured data, and domain TLD before falling back to a user default
  • A risky-code guard that stops ISO codes which are also English words (ALL, TOP, END, TRY) from turning prose into prices
  • Debounced mutation observer with chunked scanning, so infinite scroll and lazy loaded prices convert without blocking the page
  • Per site rules, three display modes, and rate refresh on a configurable alarm with a fallback provider

More screenshots

Kawase screenshot 1
Kawase screenshot 2