TVSubs - Add TV Shows to Youtube Firefox

Examine source code of TVSubs - Add TV Shows to Youtube

提供元: TestPenguin
Inspect and view changes in TVSubs - Add TV Shows to Youtube source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "TVSubs",
  "version": "0.1.0",
  "description": "Inject external items into YouTube's Subscriptions feed that look like videos but link elsewhere.",
  "action": {
    "default_title": "TVSubs",
    "default_popup": "popup.html"
  },
  "options_page": "options.html",
  "permissions": [
    "storage"
  ],
  "web_accessible_resources": [
    {
      "matches": [
        "https://www.youtube.com/*"
      ],
      "resources": [
        "Fallback.png"
      ]
    }
  ],
  "host_permissions": [
    "https://www.youtube.com/*",
    "https://api.tvmaze.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://www.youtube.com/*"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "styles.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "tvsubs@example.com",
      "strict_min_version": "128.0",
      "data_collection_permissions": {
        "has_previous_consent": false,
        "optional": [],
        "required": [
          "none"
        ]
      }
    }
  }
}

ベストのTVSubs - Add TV Shows to Youtube代替案

TVSubs - Add TV Shows to Youtubeに類似したFirefox add-onをいくつか紹介します: