Gmail Mod

Adds an embedded audio and video player to Gmail for playing audio and video attachments.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "name": "Gmail Mod",
  "short_name": "gmail-mod",
  "version": "2022.0.1",
  "description": "Adds an embedded audio and video player to Gmail for playing audio and video attachments.",
  "content_scripts": [
    {
      "matches": [
        "https://mail.google.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "gmail-mod.js"
      ],
      "css": [
        "css/GmailMod.css"
      ]
    }
  ],
  "background": {
    "service_worker": "background.js"
  },
  "icons": {
    "16": "images/icon16.png",
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "options_ui": {
    "page": "html/options.html",
    "open_in_tab": false
  },
  "permissions": [
    "storage"
  ],
  "host_permissions": [
    "*://mail-attachment.googleusercontent.com/*",
    "https://mail.google.com/*",
    "http://mail.google.com/*",
    "*://mail.google.com/*",
    "*://*.google.com/*",
    "*://*.googleusercontent.com/*"
  ],
  "optional_permissions": [],
  "manifest_version": 3,
  "incognito": "split",
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}