Automatic Twitch: Drops, Moments and Points

Automatic Twitch: Drops, Moments and Points

Extension automatically claims Drops, Channel Points and Moments on Twitch, and also adds many other features!

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "minimum_chrome_version": "75",
  "default_locale": "en",
  "author": "EbNull",
  "name": "__MSG_extension_name__",
  "short_name": "__MSG_extension_title__",
  "description": "__MSG_extension_descr__",
  "version": "1.6.2",
  "permissions": [
    "alarms",
    "storage",
    "notifications",
    "*://*.twitch.tv/*",
    "*://*.twitchcdn.net/*",
    "*://*.ttvnw.net/*"
  ],
  "icons": {
    "16": "icon/appicon_16.png",
    "48": "icon/appicon_48.png",
    "128": "icon/appicon_128.png",
    "256": "icon/appicon_256.png"
  },
  "browser_action": {
    "default_title": "__MSG_extension_title__",
    "default_icon": {
      "19": "icon/actions/action_19_enabled.png",
      "38": "icon/actions/action_38_enabled.png"
    },
    "default_popup": "popup/popup.html"
  },
  "background": {
    "scripts": [
      "js/deps/ext-storage-manager.min.js",
      "js/deps/ext-auto-inject.min.js",
      "js/deps/ebnull-notifier.min.js",
      "js/deps/ext-single-page-opener.min.js",
      "js/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.twitch.tv/*",
        "https://player.twitch.tv/*"
      ],
      "run_at": "document_start",
      "js": [
        "js/deps/ext-storage-manager.min.js",
        "js/deps/ext-auto-inject.min.js",
        "js/content.js"
      ],
      "css": [
        "css/content.css"
      ],
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    "img/*",
    "icon/*"
  ],
  "content_security_policy": "script-src 'self' blob: filesystem: https://translate.google.com/ https://*.googleapis.com/ 'sha256-eVzrNv8f3FKjQhflSMC3+yFtNdThPi+cT+245HpcDV0='; object-src 'self'"
}