Strava Heatmap Firefox

Examine source code of Strava Heatmap

By: julcnx
Inspect and view changes in Strava Heatmap source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Strava Heatmap",
  "description": "Overlay Strava Global Heatmap in iD & GPX.studio editors to reveal popular routes and patterns.",
  "version": "0.13.6",
  "homepage_url": "https://github.com/julcnx/strava-heatmap-extension",
  "permissions": [
    "cookies",
    "contextMenus",
    "declarativeNetRequest",
    "notifications",
    "storage"
  ],
  "host_permissions": [
    "*://www.strava.com/*",
    "*://content-a.strava.com/*",
    "*://www.openstreetmap.org/*",
    "*://gpx.studio/*"
  ],
  "action": {
    "default_popup": ""
  },
  "background": {
    "scripts": [
      "src/background/index.js"
    ],
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "*://www.openstreetmap.org/id*"
      ],
      "js": [
        "src/clients/www.openstreetmap.org/start.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://www.openstreetmap.org/id*",
        "*://gpx.studio/app*",
        "*://gpx.studio/*/app*"
      ],
      "js": [
        "lib/browser-polyfill.min.js",
        "src/content/inject-client.js",
        "src/content/watch-storage.js",
        "src/content/watch-tile-errors.js"
      ],
      "run_at": "document_end",
      "all_frames": true
    },
    {
      "matches": [
        "*://www.strava.com/dashboard*",
        "*://www.strava.com/onboarding*"
      ],
      "js": [
        "lib/browser-polyfill.min.js",
        "src/content/strava-redirect.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://www.strava.com/maps/global-heatmap*"
      ],
      "js": [
        "lib/browser-polyfill.min.js",
        "src/content/strava-heatmap.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "*://www.strava.com/logout*",
        "https://www.strava.com/"
      ],
      "js": [
        "lib/browser-polyfill.min.js",
        "src/content/strava-logout.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "src/clients/common/auth.js",
        "src/clients/common/hash.js",
        "src/clients/common/layers.js"
      ],
      "matches": [
        "*://www.openstreetmap.org/*",
        "*://gpx.studio/*"
      ]
    },
    {
      "resources": [
        "src/clients/www.openstreetmap.org/id.js",
        "src/clients/www.openstreetmap.org/imagery.js",
        "src/clients/www.openstreetmap.org/index.css",
        "src/clients/www.openstreetmap.org/index.js",
        "src/clients/www.openstreetmap.org/overlays.js",
        "src/clients/www.openstreetmap.org/start.js"
      ],
      "matches": [
        "*://www.openstreetmap.org/*"
      ]
    },
    {
      "resources": [
        "src/clients/gpx.studio/index.js",
        "src/clients/gpx.studio/index.css"
      ],
      "matches": [
        "*://gpx.studio/*"
      ]
    }
  ],
  "icons": {
    "48": "icons/icon-48.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "id-strava-heatmap-extension@julcnx",
      "strict_min_version": "113.0"
    }
  }
}

Best Strava Heatmap Alternatives

Here are some Firefox add-ons that are similar to Strava Heatmap: