NCW Scraper

NCW Scraper

Internal Chrome extension for scraping data from NCW, a third-party tool

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "NCW Scraper",
  "version": "0.2.2",
  "description": "Internal Chrome extension for scraping data from NCW, a third-party tool",
  "homepage_url": "https://github.com/liquidmedia/ncw-import",
  "manifest_version": 2,
  "minimum_chrome_version": "74",
  "icons": {
    "128": "/icon.png"
  },
  "permissions": [
    "storage",
    "tabs"
  ],
  "options_ui": {
    "chrome_style": true,
    "page": "/options.html"
  },
  "background": {
    "persistent": true,
    "scripts": [
      "/background.js",
      "/options-storage.js"
    ]
  },
  "browser_action": {
    "default_popup": "/popup.html",
    "default_title": "My extension popup"
  },
  "content_scripts": [
    {
      "matches": [
        "https://cloudtraffic.ncwtv.ca/*"
      ],
      "js": [
        "/scrape-status.js",
        "/manager.js",
        "/options-storage.js"
      ],
      "css": [
        "/scrape-status.css",
        "/manager.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://econtracts.int.bellmedia.ca/*",
        "https://econtractsdev.int.bellmedia.ca/*",
        "http://cloverleaf.local/*",
        "http://localhost:3443/*",
        "http://localhost:4200/*"
      ],
      "js": [
        "/fetch-token.js",
        "/options-storage.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    "/cache.js",
    "/utils.js"
  ]
}