Play/Pause Button For Pocket Casts 2

Play/Pause Button For Pocket Casts 2

Simple play/pause button for Pocket Casts. This button allows to pause or resume current podcasts independently of current tab.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_ext_name__",
  "short_name": "__MSG_ext_short_name__",
  "description": "__MSG_ext_description__",
  "version": "2.1.2",
  "author": "Artem Zanin",
  "default_locale": "en",
  "icons": {
    "16": "images/Play.png",
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "options_ui": {
    "page": "options.html"
  },
  "permissions": [
    "storage",
    "tabs",
    "scripting"
  ],
  "host_permissions": [
    "https://play.pocketcasts.com/*/"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://play.pocketcasts.com/*/"
      ],
      "js": [
        "action-play.js",
        "action-skip.js"
      ]
    }
  ],
  "externally_connectable": {
    "matches": [
      "*://*.pocketcasts.com/*"
    ]
  },
  "commands": {
    "play-pause": {
      "suggested_key": {
        "default": "MediaPlayPause"
      },
      "description": "__MSG_play_pause__",
      "global": true
    },
    "jump-back": {
      "suggested_key": {
        "default": "MediaPrevTrack"
      },
      "description": "__MSG_jump_back__",
      "global": true
    },
    "jump-forward": {
      "suggested_key": {
        "default": "MediaNextTrack"
      },
      "description": "__MSG_jump_forward__",
      "global": true
    }
  },
  "action": {}
}