UnitFlip: Inline Unit Converter

Double‑click measurements to instantly convert between metric and imperial units (no APIs)

这些是此脚本变更过代码的版本。 显示所有版本。

  • v2.0 2025-12-05

    Changelog

    • Dynamic decimal places based on value magnitude (0-1: 3-4 decimals, 1-100: 2 decimals, 100-1000: 1 decimal, 1000+: integer)
    • Support for "5 ft 10 in" format in addition to "5'10""
    • Added plurals (millimeters, grams, etc.), British spellings (metre, litre, etc.), and full names
    • Pressure conversions: bar, kPa, Pa ↔ PSI
    • Power conversions: kW, W ↔ hp (horsepower)
    • Fuel consumption: L/100km ↔ MPG
    • Cooking measurements: tbsp (tablespoon), tsp (teaspoon) → mL
    • Speed units: mph, km/h, m/s with bidirectional conversions
    • Missing aliases: lbs, floz, and many others
  • v1.0 2025-07-11