Michael's Upgrade for TrakLab

Michael's Upgrade for TrakLab

Upgraded features for TrakLab in the LGH. (This extension is not an official product of the LGH or Intersystems Trak software.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Michael's Upgrade for TrakLab",
  "short_name": "Upgrade for TrakLab",
  "version": "2.0",
  "description": "Upgraded features for TrakLab in the LGH. (This extension is not an official product of the LGH or Intersystems Trak software.",
  "permissions": [
    "storage",
    "tabs"
  ],
  "host_permissions": [
    "*://trak-lab.health.local/*"
  ],
  "icons": {
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png",
    "512": "icons/icon-512.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "icons/*",
        "lib/*",
        "allSettings.json"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "options_page": "options/options.html",
  "background": {
    "service_worker": "background/sw.js"
  },
  "content_scripts": [
    {
      "matches": [
        "*://trak-lab.health.local/*"
      ],
      "include_globs": [
        "*logon.csp*"
      ],
      "js": [
        "lib/jquery-3.3.1.js",
        "TrakCare/mu_enter.js"
      ]
    },
    {
      "all_frames": true,
      "matches": [
        "*://trak-lab.health.local/*"
      ],
      "include_globs": [
        "*websys.csp*"
      ],
      "js": [
        "lib/jquery-3.3.1.js",
        "lib/moment.js",
        "lib/bulma-toast.min.js",
        "TrakCare/mu_table.js"
      ],
      "css": [
        "lib/animate.min.css",
        "lib/bulma-custom.css"
      ]
    }
  ],
  "action": {
    "default_icon": "icons/icon-512.png"
  }
}