TikTok™ for Desktop & Downloader

TikTok™ for Desktop & Downloader

TikTok™ for desktop - browse and download your favorite videos.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "__MSG_name__",
  "description": "__MSG_description__",
  "version": "1.2.5",
  "minimum_chrome_version": "40",
  "default_locale": "en",
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "browser_action": {
    "default_icon": {
      "128": "icon128.png"
    }
  },
  "web_accessible_resources": [
    "*.css",
    "*.js"
  ],
  "background": {
    "scripts": [
      "src/lbr/jquery.min.js",
      "src/lbr/Util.js",
      "src/lbr/bg.js",
      "src/functions.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "src/lbr/container.js"
      ],
      "all_frames": true,
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://*.tiktok.com/*"
      ],
      "js": [
        "src/util/jquery.min.js",
        "src/app/helper.js",
        "src/app/search_close.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.tiktok.com/*"
      ],
      "js": [
        "src/util/jquery.min.js",
        "src/util/jquery.slidingmessage.js",
        "src/util/moment.js",
        "src/util/utils.js",
        "src/util/add-mobilify.js",
        "src/app/add.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_matches": [
        "*://*.tiktok.com/*"
      ],
      "js": [
        "src/util/utils.js",
        "src/util/add-redirectToTikTok.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "permissions": [
    "<all_urls>",
    "http://*/",
    "storage",
    "history",
    "tabs",
    "activeTab",
    "background",
    "downloads",
    "webRequest",
    "webRequestBlocking"
  ],
  "content_security_policy": "script-src 'self' https://apis.google.com; object-src 'self' 'unsafe-inline' 'unsafe-eval'"
}