How Many?

How Many?

The free version of this extension only works on amazon pages with the offer-listings in the url. You must be on that type of page…

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "homepage_url": "https://app.howmanyextension.com/",
  "name": "How Many?",
  "short_name": "How Many?",
  "version": "5.0.38",
  "icons": {
    "16": "images/icon128.png",
    "128": "images/icon128.png"
  },
  "action": {
    "default_popup": "pages/browser_action.html",
    "default_title": "How Many?",
    "default_icon": {
      "128": "images/icon128.png"
    }
  },
  "background": {
    "service_worker": "background_scripts/background_scripts.js"
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "*://*.howmanyextension.com/*"
      ],
      "js": [
        "content_scripts/auth.js"
      ]
    },
    {
      "all_frames": true,
      "run_at": "document_start",
      "matches": [
        "https://*.amazon.com/*",
        "https://*.amazon.co.uk/*",
        "https://*.amazon.es/*",
        "https://*.amazon.nl/*",
        "https://*.amazon.com.mx/*",
        "https://*.amazon.it/*",
        "https://*.amazon.in/*",
        "https://*.amazon.de/*",
        "https://*.amazon.fr/*",
        "https://*.amazon.cn/*",
        "https://*.amazon.ca/*",
        "https://*.amazon.com.br/*",
        "https://*.amazon.com.au/*"
      ],
      "exclude_matches": [
        "https://sellercentral.amazon.com/*"
      ],
      "js": [
        "libs/jquery-2.1.3.min.js",
        "libs/jquery-ui-1.12.1-draggable.min.js",
        "libs/bootbox.min.js",
        "libs/bootstrap-3.3.6-dist/js/bootstrap.js",
        "libs/amazon/amazon.js",
        "libs/amazon/sha2.js",
        "libs/datadog-logs-v4.js",
        "content_scripts/content_scripts.js"
      ],
      "css": [
        "libs/bootstrap-3.3.6-dist/css/bootstrap.css",
        "pages/onpage.css"
      ]
    }
  ],
  "permissions": [
    "webRequest",
    "activeTab",
    "storage"
  ],
  "host_permissions": [
    "*://app.howmanyextension.com/*",
    "https://*.amazon.com/*",
    "https://*.amazon.co.uk/*",
    "https://*.amazon.es/*",
    "https://*.amazon.nl/*",
    "https://*.amazon.com.mx/*",
    "https://*.amazon.it/*",
    "https://*.amazon.in/*",
    "https://*.amazon.de/*",
    "https://*.amazon.fr/*",
    "https://*.amazon.cn/*",
    "https://*.amazon.ca/*",
    "https://*.amazon.com.br/*",
    "https://*.amazon.com.au/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "images/*",
        "pages/howmany.css",
        "pages/onpage.css",
        "libs/userflow.js-self-hosted/*"
      ],
      "matches": [
        "https://*/*",
        "http://*/*"
      ]
    }
  ]
}