Docs Hotkey Firefox

Examine source code of Docs Hotkey

提供元: Zack Murry
Inspect and view changes in Docs Hotkey source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Docs Hotkey",
  "version": "0.21",
  "description": "Create hotkeys for Google Docs",
  "permissions": [
    "storage"
  ],
  "background": {
    "scripts": [
      "static/js/background.js"
    ],
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "*://docs.google.com/document/d/*",
        "*://classroom.google.com/*",
        "*://docs.google.com/presentation/d/*"
      ],
      "all_frames": true,
      "js": [
        "static/js/content.js"
      ]
    }
  ],
  "commands": {
    "slot1": {
      "suggested_key": {
        "default": "Ctrl+Shift+H"
      },
      "description": "Slot 1"
    },
    "slot2": {
      "description": "Slot 2"
    },
    "slot3": {
      "description": "Slot 3"
    },
    "slot4": {
      "description": "Slot 4"
    },
    "slot5": {
      "description": "Slot 5"
    },
    "slot6": {
      "description": "Slot 6"
    },
    "slot7": {
      "description": "Slot 7"
    },
    "slot8": {
      "description": "Slot 8"
    },
    "slot9": {
      "description": "Slot 9"
    },
    "slot910": {
      "description": "Slot 10"
    },
    "slot911": {
      "description": "Slot 11"
    },
    "slot912": {
      "description": "Slot 12"
    },
    "slot913": {
      "description": "Slot 13"
    },
    "slot914": {
      "description": "Slot 14"
    },
    "slot915": {
      "description": "Slot 15"
    }
  },
  "browser_action": {
    "default_title": "Open popup",
    "default_popup": "index.html"
  },
  "icons": {
    "16": "icons/16.png",
    "32": "icons/32.png",
    "64": "icons/64.png",
    "128": "icons/128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "docshotkey@zackmurry.com",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  }
}

ベストのDocs Hotkey代替案

Docs Hotkeyに類似したFirefox add-onをいくつか紹介します: