InventoryBase Media Keys

InventoryBase Media Keys

Control the InventoryBase report audio player with your keyboard media keys or external devices, like pedals.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "InventoryBase Media Keys",
  "version": "1.4",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "description": "Control the InventoryBase report audio player with your keyboard media keys or external devices, like pedals.",
  "homepage_url": "https://inventorybase.com",
  "manifest_version": 2,
  "commands": {
    "prev": {
      "suggested_key": {
        "default": "MediaPrevTrack",
        "mac": "MediaPrevTrack"
      },
      "description": "Rewind",
      "global": true
    },
    "play-pause": {
      "suggested_key": {
        "default": "MediaPlayPause",
        "mac": "MediaPlayPause"
      },
      "description": "Play/Pause",
      "global": true
    },
    "next": {
      "suggested_key": {
        "default": "MediaNextTrack",
        "mac": "MediaNextTrack"
      },
      "description": "Fast Forward",
      "global": true
    },
    "prev-pedal": {
      "suggested_key": {
        "default": "Ctrl+Shift+8",
        "mac": "Command+Shift+8"
      },
      "description": "Rewind",
      "global": true
    },
    "play-pause-pedal": {
      "suggested_key": {
        "default": "Ctrl+Shift+9",
        "mac": "Command+Shift+9"
      },
      "description": "Play/Pause",
      "global": true
    },
    "next-pedal": {
      "suggested_key": {
        "default": "Ctrl+Shift+0",
        "mac": "Command+Shift+0"
      },
      "description": "Fast Forward",
      "global": true
    }
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "ib-media-keys.js"
      ]
    }
  ],
  "options_page": "options/options.html"
}