PLANERGY CheckOut

PLANERGY CheckOut

The extension submits products from shopping cart to PLANERGY

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "PLANERGY CheckOut",
  "version": "1.4",
  "description": "The extension submits products from shopping cart to PLANERGY",
  "author": "PLANERGY",
  "background": {
    "service_worker": "bg-wrapper.js"
  },
  "action": {
    "default_icon": {
      "16": "./assets/img/planergy16.png",
      "24": "./assets/img/planergy24.png",
      "36": "./assets/img/planergy36.png"
    },
    "default_title": "PLANERGY CheckOut",
    "default_popup": "./popup.html"
  },
  "icons": {
    "16": "./assets/img/planergy16.png",
    "24": "./assets/img/planergy24.png",
    "36": "./assets/img/planergy36.png",
    "48": "./assets/img/planergy48.png",
    "128": "./assets/img/planergy128.png"
  },
  "permissions": [
    "cookies",
    "storage",
    "scripting"
  ],
  "host_permissions": [
    "*://*.purchasecontrol.com/*",
    "*://*.purchasecontrol/*",
    "*://*.planergy.com/*",
    "*://*.planergy/*",
    "*://*.goplanergy.com/*",
    "*://*.goplanergy/*",
    "*://*.cart.planergy.com/*"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'",
    "sandbox": "sandbox allow-scripts; script-src 'self' 'https://klunk.purchasecontrol.com/api'; object-src 'self'"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "./assets/js/jquery-3.3.1.min.js",
        "./content_script/content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/config/config.js",
        "/CMS/configCMS.js",
        "/CMS/setCMS/*",
        "/customSite/*",
        "customMadeDivCart.js",
        "/assets/js/jquery-3.3.1.min.js",
        "/assets/img/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}