Haddan Bot

Haddan Bot

Приложение для автоматизации рутинных действий в онлайн игре Haddan

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "version": "2.3.10",
  "name": "Haddan Bot",
  "short_name": "Haddan extension",
  "description": "Приложение для автоматизации рутинных действий в онлайн игре Haddan",
  "author": "Vadim Novikov",
  "icons": {
    "16": "img/icon.png",
    "32": "img/icon.png",
    "48": "img/icon.png",
    "128": "img/icon.png"
  },
  "background": {
    "service_worker": "/js/background.js"
  },
  "action": {
    "default_title": "Test Extension",
    "default_popup": "html/popup.html"
  },
  "options_page": "html/options.html",
  "permissions": [
    "storage"
  ],
  "host_permissions": [
    "*://haddan.ru/*",
    "*://online-igra.ru/*",
    "*://www.haddan.ru/*",
    "*://www.online-igra.ru/*",
    "*://extension.novikovproject.ru/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/inject/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "s/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/qa.php*",
        "*://haddan.ru/battle/btl.php*",
        "*://haddan.ru/inner/getwear.php*",
        "*://haddan.ru/room/room.php*",
        "*://haddan.ru/room/func/bloodarena.php*",
        "*://www.haddan.ru/room/func/qa.php*",
        "*://www.haddan.ru/battle/btl.php*",
        "*://www.haddan.ru/inner/getwear.php*",
        "*://www.haddan.ru/room/room.php*",
        "*://www.haddan.ru/room/func/bloodarena.php*",
        "*://online-igra.ru/room/func/qa.php*",
        "*://online-igra.ru/battle/btl.php*",
        "*://online-igra.ru/inner/getwear.php*",
        "*://online-igra.ru/room/room.php*",
        "*://online-igra.ru/room/func/bloodarena.php*",
        "*://www.online-igra.ru/room/func/qa.php*",
        "*://www.online-igra.ru/battle/btl.php*",
        "*://www.online-igra.ru/inner/getwear.php*",
        "*://www.online-igra.ru/room/room.php*",
        "*://www.online-igra.ru/room/func/bloodarena.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/room.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/thingdetails.php*",
        "*://www.haddan.ru/room/func/thingdetails.php*",
        "*://online-igra.ru/room/func/thingdetails.php*",
        "*://www.online-igra.ru/room/func/thingdetails.php*"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/thingdetails.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/talk/main_talk.php*",
        "*://www.haddan.ru/talk/main_talk.php*",
        "*://online-igra.ru/talk/main_talk.php*",
        "*://www.online-igra.ru/talk/main_talk.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/talk.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/main_pipol.php*",
        "*://www.haddan.ru/main_pipol.php*",
        "*://online-igra.ru/main_pipol.php*",
        "*://www.online-igra.ru/main_pipol.php*"
      ],
      "css": [
        "css/scroll.css"
      ],
      "js": [
        "js/mainPipol.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/main_talk_input.htm*",
        "*://www.haddan.ru/main_talk_input.htm*",
        "*://online-igra.ru/main_talk_input.htm*",
        "*://www.online-igra.ru/main_talk_input.htm*"
      ],
      "js": [
        "js/talkinp.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/info/friends.php*",
        "*://www.haddan.ru/info/friends.php*",
        "*://online-igra.ru/info/friends.php*",
        "*://www.online-igra.ru/info/friends.php*"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/friends.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/portal.php*",
        "*://www.haddan.ru/room/func/portal.php*",
        "*://online-igra.ru/room/func/portal.php*",
        "*://www.online-igra.ru/room/func/portal.php*"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/portal.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/inv/pstorage.php*",
        "*://www.haddan.ru/inv/pstorage.php*",
        "*://online-igra.ru/inv/pstorage.php*",
        "*://www.online-igra.ru/inv/pstorage.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/pstorage.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/info/messages.php*",
        "*://www.haddan.ru/info/messages.php*",
        "*://online-igra.ru/info/messages.php*",
        "*://www.online-igra.ru/info/messages.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/messages.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/kykarare.php*",
        "*://www.haddan.ru/room/func/kykarare.php*",
        "*://online-igra.ru/room/func/kykarare.php*",
        "*://www.online-igra.ru/room/func/kykarare.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/kykarare.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/mazemap.php*",
        "*://www.haddan.ru/room/mazemap.php*",
        "*://online-igra.ru/room/mazemap.php*",
        "*://www.online-igra.ru/room/mazemap.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/mazemap.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/temple.php*",
        "*://www.haddan.ru/room/func/temple.php*",
        "*://online-igra.ru/room/func/temple.php*",
        "*://www.online-igra.ru/room/func/temple.php*",
        "*://haddan.ru/room/func/mine.php*",
        "*://www.haddan.ru/room/func/mine.php*",
        "*://online-igra.ru/room/func/mine.php*",
        "*://www.online-igra.ru/room/func/mine.php*"
      ],
      "js": [
        "js/temple.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/inv/inv.php*",
        "*://www.haddan.ru/inv/inv.php*",
        "*://online-igra.ru/inv/inv.php*",
        "*://www.online-igra.ru/inv/inv.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/inventory.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/main_upper.html*",
        "*://www.haddan.ru/main_upper.html*",
        "*://www.online-igra.ru/main_upper.html*",
        "*://online-igra.ru/main_upper.html*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/mainUpper.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/peopleoptions.html*",
        "*://www.haddan.ru/peopleoptions.html*",
        "*://www.online-igra.ru/peopleoptions.html*",
        "*://online-igra.ru/peopleoptions.html*"
      ],
      "js": [
        "js/peopleoptions.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/event_roaches.php*",
        "*://www.haddan.ru/room/func/event_roaches.php*",
        "*://online-igra.ru/room/func/event_roaches.php*",
        "*://www.online-igra.ru/room/func/event_roaches.php*",
        "*://haddan.ru/room/func/catorg.php*",
        "*://www.haddan.ru/room/func/catorg.php*",
        "*://online-igra.ru/room/func/catorg.php*",
        "*://www.online-igra.ru/room/func/catorg.php*",
        "*://haddan.ru/room/func/newmine.php*",
        "*://haddan.ru/room/func/templefunc.php*",
        "*://www.haddan.ru/room/func/templefunc.php*",
        "*://www.haddan.ru/room/func/newmine.php*",
        "*://online-igra.ru/room/func/newmine.php*",
        "*://online-igra.ru/room/func/templefunc.php*",
        "*://www.online-igra.ru/room/func/templefunc.php*",
        "*://www.online-igra.ru/room/func/newmine.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/captchaFrame.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/main.php*",
        "*://www.haddan.ru/main.php*",
        "*://online-igra.ru/main.php*",
        "*://www.online-igra.ru/main.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/main.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/shop.php*",
        "*://www.haddan.ru/room/func/shop.php*",
        "*://online-igra.ru/room/func/shop.php*",
        "*://www.online-igra.ru/room/func/shop.php*"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/shop.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/petshome.php*",
        "*://www.haddan.ru/room/func/petshome.php*",
        "*://online-igra.ru/room/func/petshome.php*",
        "*://www.online-igra.ru/room/func/petshome.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/pets.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/shops.php*",
        "*://www.haddan.ru/room/func/shops.php*",
        "*://online-igra.ru/room/func/shops.php*",
        "*://www.online-igra.ru/room/func/shops.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "lib/sorter.js",
        "js/shops.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/enchant.php*",
        "*://www.haddan.ru/room/func/enchant.php*",
        "*://online-igra.ru/room/func/enchant.php*",
        "*://www.online-igra.ru/room/func/enchant.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/enchant.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/room/func/alchem.php*",
        "*://www.haddan.ru/room/func/alchem.php*",
        "*://online-igra.ru/room/func/alchem.php*",
        "*://www.online-igra.ru/room/func/alchem.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/alchem.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/info/info.php*",
        "*://www.haddan.ru/info/info.php*",
        "*://online-igra.ru/info/info.php*",
        "*://www.online-igra.ru/info/info.php*"
      ],
      "css": [
        "css/popup.css"
      ],
      "js": [
        "lib/jquery.min.js",
        "js/info.js"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": true,
      "matches": [
        "*://haddan.ru/*",
        "*://www.haddan.ru/*",
        "*://online-igra.ru/*",
        "*://www.online-igra.ru/*"
      ],
      "js": [
        "js/had.js"
      ],
      "run_at": "document_end"
    }
  ]
}