Torn Loadouts

Torn Loadouts

Provide player with useful information regarding enemy loadout - gears, weapons and more!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Torn Loadouts",
  "description": "Provide player with useful information regarding enemy loadout - gears, weapons and more!",
  "version": "1.6.1",
  "host_permissions": [
    "http://localhost/",
    "https://tornloadout.xyz/"
  ],
  "permissions": [
    "storage"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://www.torn.com/loader.php?sid=attack&user2ID=*"
      ],
      "run_at": "document_end",
      "js": [
        "scripts/jquery-3.7.1.min.js",
        "contentscript.js",
        "inject.js"
      ],
      "css": [
        "stylesheet/stylesheet.css"
      ],
      "web_accessible_resources": [
        "images/loader.gif"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "injected.js"
      ],
      "matches": [
        "https://www.torn.com/*",
        "https://www.google.com/*"
      ]
    }
  ],
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_popup": "popup.html",
    "default_title": "Click me!"
  }
}