EncounterBeyond

EncounterBeyond

A simple extension to send digital rolls from D&D Beyond to EncounterPlus

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "EncounterBeyond",
  "description": "A simple extension to send digital rolls from D&D Beyond to EncounterPlus",
  "manifest_version": 3,
  "version": "0.8",
  "icons": {
    "48": "encounter48.png",
    "96": "encounter96.png"
  },
  "host_permissions": [
    "*://*/api/messages"
  ],
  "permissions": [
    "storage",
    "declarativeContent"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "options_ui": {
    "page": "options.html"
  },
  "action": {
    "default_icon": {
      "19": "encounter19.png",
      "38": "encounter38.png"
    },
    "default_title": "EncounterBeyond",
    "browser_style": true,
    "default_popup": "options.html",
    "show_matches": [
      "https://*.dndbeyond.com/profile/*/characters/*",
      "https://*.dndbeyond.com/characters/*"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.dndbeyond.com/profile/*/characters/*",
        "https://*.dndbeyond.com/characters/*"
      ],
      "run_at": "document_end",
      "js": [
        "rollgrabber.js"
      ]
    },
    {
      "matches": [
        "*://*/client/"
      ],
      "run_at": "document_end",
      "js": [
        "hostgrab.js"
      ]
    }
  ]
}