Metric Glance Firefox

Examine source code of Metric Glance

Inspect and view changes in Metric Glance source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Metric Glance",
  "version": "0.47.1",
  "description": "Converts imperial units to metric and rounds large prices. Hover (desktop) or tap (mobile) the dotted text to see the original or correct it. Right-click a selection to teach it new conversions.",
  "permissions": [
    "storage",
    "tabs",
    "contextMenus",
    "alarms",
    "notifications",
    "https://mg-collect.metric-glance.workers.dev/*",
    "https://ja-ortiz-uniandes.github.io/metric-glance/privacy.html"
  ],
  "commands": {
    "open-picker": {
      "suggested_key": {
        "default": "Ctrl+Alt+M",
        "mac": "Command+Alt+M"
      },
      "description": "Open the Metric Glance unit picker for the current selection"
    }
  },
  "browser_action": {
    "default_icon": {
      "48": "icons/icon-48.png",
      "96": "icons/icon-96.png"
    },
    "default_title": "Metric Glance",
    "default_popup": "popup.html"
  },
  "background": {
    "scripts": [
      "background.js",
      "mg-uploader.js",
      "mg-privacy-watch.js"
    ],
    "persistent": false
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "metric-glance@cach-dies",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": [
          "websiteContent"
        ]
      }
    },
    "gecko_android": {
      "strict_min_version": "142.0"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "converter.js"
      ],
      "css": [
        "styles.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "icons": {
    "48": "icons/icon-48.png",
    "96": "icons/icon-96.png"
  }
}

Best Metric Glance Alternatives

Here are some Firefox add-ons that are similar to Metric Glance: