Language Learning with Netflix & YouTube-AFL

Language Learning with Netflix & YouTube-AFL

Language Learning with Netflix & YouTube Extension - App for Language (AFL)

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "__MSG_appName__",
  "description": "__MSG_appDesc__",
  "default_locale": "en",
  "version": "4.24.04.15",
  "manifest_version": 3,
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "content_scripts": [
    {
      "matches": [
        "http://www.youtube.com/*",
        "https://www.youtube.com/*"
      ],
      "css": [
        "youtube/styles.css"
      ],
      "js": [
        "youtube/contentscript.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "http://www.netflix.com/*",
        "https://www.netflix.com/*"
      ],
      "css": [
        "netflix/styles.css"
      ],
      "js": [
        "netflix/contentscript.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "https://appforlanguage.com/subscription/auth/google*",
        "http://www.appforlanguage.com/subscription/auth/google*"
      ],
      "js": [
        "appforlanguage/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://appforlanguage.com/loading/",
        "https://appforlanguage.com/loading",
        "http://www.appforlanguage.com/loading"
      ],
      "js": [
        "payment/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://appforlanguage.com/subscription/subscription-result*",
        "http://www.appforlanguage.com/subscription/subscription-result*"
      ],
      "js": [
        "paymentpage/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://appforlanguage.com/cancel",
        "https://appforlanguage.com/cancel/",
        "http://www.appforlanguage.com/cancel"
      ],
      "js": [
        "cancelpage/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://appforlanguage.com/cancelStripePage",
        "https://appforlanguage.com/cancelStripePage/",
        "http://www.appforlanguage.com/cancelStripePage"
      ],
      "js": [
        "cancelStripePage/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://appforlanguage.com/subscription/netflix-youtube",
        "https://appforlanguage.com/subscription/netflix-youtube/",
        "http://www.appforlanguage.com/subscription/netflix-youtube"
      ],
      "js": [
        "packages/contentscript.js"
      ]
    }
  ],
  "background": {
    "service_worker": "backgroundscript.js"
  },
  "action": {
    "default_icon": {
      "16": "images/icon_16.png",
      "48": "images/icon_48.png",
      "128": "images/icon_128.png",
      "240": "images/icon_240.png"
    },
    "default_title": "Language Learning with Netflix & YouTube™",
    "default_popup": "popup.html"
  },
  "icons": {
    "16": "images/icon_16.png",
    "48": "images/icon_48.png",
    "128": "images/icon_128.png",
    "240": "images/icon_240.png"
  },
  "permissions": [
    "storage",
    "tts"
  ],
  "optional_permissions": [
    "activeTab"
  ],
  "host_permissions": [
    "https://appforlanguage.com/*",
    "https://clients5.google.com/*",
    "https://glosbe.com/*",
    "*://youtube.com/*",
    "*://netflix.com/*"
  ],
  "tts_engine": {
    "voices": [
      {
        "voice_name": "Alice",
        "event_types": [
          "start",
          "marker",
          "end"
        ]
      }
    ]
  },
  "web_accessible_resources": [
    {
      "resources": [
        "*.*"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ]
}