Mastodon Redirector

Mastodon Redirector

Redirect Mastodon URLs from other instances to your own instance.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "Mastodon Redirector",
  "action": {},
  "manifest_version": 3,
  "version": "0.4.0",
  "description": "Redirect Mastodon URLs from other instances to your own instance.",
  "permissions": [
    "activeTab",
    "scripting",
    "storage"
  ],
  "icons": {
    "16": "images/icon-16.png",
    "32": "images/icon-32.png",
    "64": "images/icon-64.png",
    "128": "images/icon-128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "js": [
        "content.js"
      ]
    }
  ],
  "background": {
    "service_worker": "",
    "scripts": [
      "background.js"
    ]
  },
  "commands": {
    "_execute_action": {
      "suggested_key": {
        "windows": "Alt+Shift+M",
        "mac": "Alt+Shift+M",
        "chromeos": "Alt+Shift+M",
        "linux": "Alt+Shift+M"
      }
    }
  },
  "options_ui": {
    "page": "options/options.html",
    "browser_style": false,
    "open_in_tab": true
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]"
    }
  }
}