Automatic Media Selection Integration

Automatic Media Selection Integration

For direct image links, this will automatically fetch and replace the URL for the max resolution image. For direct social media posts featuring media, this will add a download button to fetch the image or video.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "Automatic Media Selection Integration",
  "version": "2.3.1",
  "description": "Automatically gets the largest size image and video from supported websites",
  "content_scripts": [
    {
      "matches": [
        "*://*.media.tumblr.com/*/tumblr_*_*.gif",
        "*://*.media.tumblr.com/*/tumblr_*_*.jpg",
        "*://*.media.tumblr.com/*/tumblr_*_*.png",
        "*://*.pbs.twimg.com/*png*",
        "*://*.pbs.twimg.com/*jpg*",
        "*://*.twimg.com/*",
        "*://*.ytimg.com/vi/*/*.jpg*",
        "*://*.okccdn.com/*",
        "*://*.redd.it/*"
      ],
      "js": [
        "main.js",
        "amsi.js"
      ]
    },
    {
      "matches": [
        "*://*.twitter.com/*/status/*"
      ],
      "js": [
        "main.js",
        "twitter.js"
      ]
    },
    {
      "matches": [
        "*://*.tiktok.com/*/video/*"
      ],
      "js": [
        "main.js",
        "tiktok.js"
      ]
    },
    {
      "matches": [
        "*://*.instagram.com/p/*"
      ],
      "js": [
        "main.js",
        "instagram.js"
      ]
    }
  ],
  "permissions": [
    "storage",
    "https://twitter.com/*",
    "https://api.twitter.com/*",
    "https://abs.twimg.com/*"
  ],
  "browser_action": {
    "default_popup": "twitter_api.html"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{0dd0d663-c42f-4f53-bbdb-8f152833fa95}"
    }
  }
}