Metric Converter

Converts US/Imperial units to SI/Metric on visible text only, rounding metric values to 2 decimals.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey .

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

Автор
Alyssa B. Morton
Инсталации дневно
0
Инсталации общо
3
Рейтинг
0 0 0
Версия
1.2
Създаден
07.11.2025
Обновен
07.11.2025
Размер
4 КБ
Лиценз
MIT
Работи на
Всички сайтове

Description:


The Metric Converter userscript automatically converts US/Imperial units on webpages to SI/Metric units and appends the converted value in brackets behind the original US unit. All metric values are rounded to 2 decimal places for clean display. Ideal for shopping, cooking, recipes, and online research.

Features:

  • Converts length: inch, feet, yard, mile → meters/kilometers
  • Converts weight: ounce, pound, stone → kilograms
  • Converts volume: cup, pint, quart, gallon, fl oz → liters
  • Converts speed: mph → km/h
  • Converts fuel efficiency: mpg → L/100 km
  • Converts temperature: °F → °C
  • Converts area: sq. ft, sq. yd → m²
  • Converts volume: cu. in, cu. ft → m³
  • All converted metric values are rounded to 2 decimal places
  • Only converts visible text; ignores scripts, styles, inputs, textareas, links, and code blocks

Instructions:


Step 1: Install a Userscript Manager

   Install a userscript manager such as Violentmonkey or Tampermonkey in your browser.


Step 2: Add the Script

   Copy the entire Metric Converter userscript code and create a new script in your userscript manager.


Step 3: Save and Enable the Script

   After adding the script, save it and ensure it is enabled in your userscript manager.


Step 4: Browse Normally

   Navigate to any website. US/Imperial units in visible text will automatically display converted metric values in brackets.

Notes:

  • The script only converts visible text, so it won’t break links, forms, or code snippets.
  • All metric values are rounded to 2 decimal places for readability.
  • If conversions do not appear immediately, refresh the page.