TornMarket+

TornMarket+

Adds extra information to the market pages of the game Torn helping you spot deals and products selling under market price!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "TornMarket+",
  "version": "0.1.3",
  "description": "Provides additional information and features on the market pages of the game Torn.",
  "author": "Ricardo Osorio - BOTLoki [2742316]",
  "permissions": [
    "storage",
    "alarms",
    "https://www.torn.com/*",
    "https://api.torn.com/*"
  ],
  "browser_action": {
    "default_icon": {
      "32": "resources/icons/icon.png"
    },
    "default_title": "Torn Market+",
    "default_popup": "popup/popup.html"
  },
  "background": {
    "scripts": [
      "scripts/background/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.torn.com/shops.php?step=*",
        "https://www.torn.com/bigalgunshop.php"
      ],
      "js": [
        "scripts/content/utils/utils.js",
        "scripts/content/sidebar/bar.js"
      ],
      "css": [
        "scripts/content/sidebar/bar.css"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://www.torn.com/imarket.php*"
      ],
      "js": [
        "scripts/content/utils/utils.js",
        "scripts/content/sidebar/bar.js",
        "scripts/content/market/highlight.js",
        "scripts/content/listings/update.js"
      ],
      "css": [
        "scripts/content/sidebar/bar.css",
        "scripts/content/market/highlight.css"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://www.torn.com/bazaar.php?userId=*"
      ],
      "js": [
        "scripts/content/utils/utils.js",
        "scripts/content/sidebar/bar.js",
        "scripts/content/bazaar/highlight.js"
      ],
      "css": [
        "scripts/content/sidebar/bar.css",
        "scripts/content/bazaar/highlight.css"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    "resources/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{56ca3d94-95fd-4b62-9086-4f35013c9112}"
    }
  }
}