drrr chatbot extension (background)

drrr chatbot extension (background)

chatbot extension for drrr.com

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "drrr chatbot extension (background)",
  "description": "chatbot extension for drrr.com",
  "short_name": "drrrbot",
  "version": "1.839",
  "default_locale": "en",
  "current_locale": "zh",
  "browser_action": {
    "default_icon": "icon.png",
    "default_popup": "/popup/index.html"
  },
  "background": {
    "page": "/background/index.html",
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "https://drrr.com/room/*"
      ],
      "css": [
        "/content/index.css"
      ],
      "run_at": "document_start",
      "js": [
        "/js/jquery-3.4.1.min.js",
        "/js/jquery.textcomplete.min.js",
        "/js/data.min.js",
        "/js/data.cn2t.min.js",
        "/js/data.t2cn.min.js",
        "/js/bundle-browser.min.js",
        "/lib/globals.js",
        "/lib/format.js",
        "/content/ui.js",
        "/content/methods.js",
        "/content/room.js"
      ]
    },
    {
      "matches": [
        "https://drrr.com/lounge/*"
      ],
      "run_at": "document_start",
      "css": [
        "/css/bootstrap.min.css"
      ],
      "js": [
        "/js/jquery-3.4.1.min.js",
        "/js/bootstrap.min.js",
        "/lib/globals.js",
        "/lib/format.js",
        "/content/lounge.js"
      ]
    },
    {
      "matches": [
        "https://drrr.com/"
      ],
      "run_at": "document_start",
      "js": [
        "/js/jquery-3.4.1.min.js",
        "/lib/globals.js",
        "/lib/format.js",
        "/content/index.js"
      ]
    },
    {
      "matches": [
        "https://chat.openai.com/chat"
      ],
      "js": [
        "/js/jquery-3.4.1.min.js",
        "/lib/globals.js",
        "/lib/format.js",
        "/content/chatGPT.js"
      ]
    }
  ],
  "permissions": [
    "tabs",
    "storage",
    "cookies",
    "notifications",
    "webRequest",
    "webRequestBlocking",
    "*://drrr.com/*",
    "*://tinyurl.com/*",
    "*://keeper-cat.fly.dev/*",
    "*://link.hhtjim.com/*",
    "http://music.163.com/api/*",
    "https://store.line.me/*",
    "https://api.telegram.org/*",
    "https://api.tenor.com/*",
    "http://api.giphy.com/*",
    "https://github.com/*",
    "https://gitee.com/*",
    "https://script.google.com/*",
    "https://music.liuzhijin.cn/*"
  ],
  "optional_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "web_accessible_resources": [
    "images/*.png",
    "live2d-widget/*",
    "fonts/*",
    "setting/*.mjs"
  ],
  "content_security_policy": "script-src 'self' https://static.line-scdn.net; object-src 'self'",
  "incognito": "split"
}