Hangouts toggle

Hangouts toggle

This extension allows you to (un)mute your microphone and enable/disable your webcam with a single shortcut from everywhere.

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Hangouts toggle",
  "version": "2.0",
  "description": "This extension allows you to (un)mute your microphone and enable/disable your webcam with a single shortcut from everywhere.",
  "icons": {
    "128": "assets/img/icon.png"
  },
  "permissions": [
    "tabs"
  ],
  "commands": {
    "toggle": {
      "suggested_key": {
        "default": "Ctrl+Shift+1"
      },
      "global": true,
      "description": "Toggle webcam and microphone in Hangouts"
    },
    "toggleMicrophone": {
      "suggested_key": {
        "default": "Ctrl+Shift+2"
      },
      "global": true,
      "description": "Toggle webcam in Hangouts"
    },
    "toggleWebcam": {
      "suggested_key": {
        "default": "Ctrl+Shift+3"
      },
      "global": true,
      "description": "Toggle microphone in Hangouts"
    }
  },
  "content_scripts": [
    {
      "js": [
        "assets/js/update.js"
      ],
      "matches": [
        "https://plus.google.com/hangouts/*",
        "https://talkgadget.google.com/hangouts/*"
      ]
    }
  ],
  "background": {
    "scripts": [
      "assets/js/background.js"
    ],
    "persistent": false
  }
}