Scavenger Hunt

Scavenger Hunt

A simple scavenger hunt extension based on URLs

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Scavenger Hunt",
  "description": "A simple scavenger hunt extension based on URLs",
  "version": "1.1.0",
  "manifest_version": 3,
  "options_ui": {
    "page": "landing_page.html",
    "open_in_tab": true
  },
  "icons": {
    "16": "graphics/scav16.png",
    "48": "graphics/scav48.png",
    "128": "graphics/scav128.png"
  },
  "minimum_chrome_version": "88",
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/content_script.js"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; script-src-elem 'self' 'unsafe-inline' https://www.youtube.com/iframe_api;",
    "sandbox": "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.youtube.com/iframe_api; child-src 'self';"
  },
  "action": {
    "default_title": "Scavenger Hunt",
    "default_icon": "graphics/scav.png"
  },
  "background": {
    "service_worker": "js/background.js"
  },
  "permissions": [
    "storage",
    "downloads"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "res/*"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ]
}