Reddit Direct Images

Reddit Direct Images

Loads all images hosted on reddit directly in the browser.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "Reddit Direct Images",
  "version": "1.30",
  "permissions": [
    "declarativeNetRequestWithHostAccess",
    "storage"
  ],
  "optional_permissions": [
    "scripting"
  ],
  "host_permissions": [
    "*://*.redd.it/*",
    "*://www.reddit.com/*",
    "*://i.imgur.com/*"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "directImageAccess",
        "enabled": true,
        "path": "direct-image-access.json"
      },
      {
        "id": "desktopUserAgent",
        "enabled": false,
        "path": "desktop-user-agent.json"
      }
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{3d12134e-1c0c-4786-b993-2c32e374ed11}",
      "strict_min_version": "117.0"
    },
    "gecko_android": {
      "strict_min_version": "117.0"
    }
  },
  "background": {
    "scripts": [
      "bg.js"
    ],
    "type": "module"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "war/gallery.html",
        "war/video.html"
      ],
      "matches": [
        "*://*.reddit.com/*",
        "*://*.redd.it/*"
      ]
    }
  ],
  "action": {
    "default_title": "Reddit Direct Images"
  },
  "options_ui": {
    "page": "options/options.html",
    "open_in_tab": true
  },
  "icons": {
    "16": "icon.svg",
    "32": "icon.svg",
    "48": "icon.svg",
    "128": "icon.svg"
  }
}