Spotify Hotkeys Firefox

Examine source code of Spotify Hotkeys

By: Jerosa
Inspect and view changes in Spotify Hotkeys source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "Spotify Hotkeys",
  "description": "Global keyboard shortcuts to control Spotify Web Player — play, skip, volume, shuffle, and more.",
  "manifest_version": 3,
  "author": "jerosa",
  "version": "2.2.0",
  "homepage_url": "https://github.com/jerosa/spotify-hotkeys-firefox",
  "browser_specific_settings": {
    "gecko": {
      "id": "{82a01566-f5cf-4c86-9aec-7da38b2a7385}",
      "strict_min_version": "109.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  },
  "icons": {
    "64": "icons/logo-64.png"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://open.spotify.com/*",
        "https://play.spotify.com/*"
      ],
      "js": [
        "notifications.js",
        "spotify-player.js"
      ],
      "run_at": "document_end"
    }
  ],
  "commands": {
    "play-pause": {
      "suggested_key": {
        "default": "Alt+Shift+W"
      },
      "description": "Play/pause the current song"
    },
    "next": {
      "suggested_key": {
        "default": "Alt+Shift+Right"
      },
      "description": "Next track"
    },
    "previous": {
      "suggested_key": {
        "default": "Alt+Shift+Left"
      },
      "description": "Previous track"
    },
    "shuffle": {
      "suggested_key": {
        "default": "Alt+Shift+D"
      },
      "description": "Shuffle playlist"
    },
    "repeat": {
      "suggested_key": {
        "default": "Alt+Shift+R"
      },
      "description": "Repeat playlist"
    },
    "play-album": {
      "suggested_key": {
        "default": "Alt+Shift+G"
      },
      "description": "Play/pause the current playlist/album"
    },
    "save-track": {
      "suggested_key": {
        "default": "Alt+Shift+L"
      },
      "description": "Save track"
    },
    "mute": {
      "suggested_key": {
        "default": "Alt+Shift+M"
      },
      "description": "Mute/Unmute"
    },
    "volume-up": {
      "suggested_key": {
        "default": "Alt+Shift+Up"
      },
      "description": "Volume up"
    },
    "volume-down": {
      "suggested_key": {
        "default": "Alt+Shift+Down"
      },
      "description": "Volume down"
    },
    "skip-forward": {
      "suggested_key": {
        "default": "Alt+Shift+Period"
      },
      "description": "Skip forward"
    },
    "skip-back": {
      "suggested_key": {
        "default": "Alt+Shift+Comma"
      },
      "description": "Skip back"
    }
  },
  "permissions": [
    "tabs",
    "storage",
    "notifications"
  ],
  "action": {
    "default_icon": "icons/logo-32.png",
    "theme_icons": [
      {
        "light": "icons/logo-32-light.png",
        "dark": "icons/logo-32.png",
        "size": 32
      }
    ],
    "default_title": "Spotify",
    "default_popup": "panel/panel.html"
  },
  "options_ui": {
    "page": "options/options.html"
  }
}

Best Spotify Hotkeys Alternatives

Here are some Firefox add-ons that are similar to Spotify Hotkeys: