Elia – Own your English!

Elia – Own your English!

Improve your English vocabulary while browsing the web!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "__MSG_appName__",
  "version": "2.29",
  "description": "__MSG_appDescription__",
  "host_permissions": [
    "<all_urls>"
  ],
  "permissions": [
    "tabs",
    "storage",
    "alarms",
    "scripting",
    "contextMenus"
  ],
  "default_locale": "en",
  "web_accessible_resources": [
    {
      "resources": [
        "popup/*",
        "/content/*",
        "background/*",
        "lib/*",
        "http:/*",
        "https:/*",
        "ftp:/*",
        "file:/*",
        "chrome-extension:/*",
        "blob:*",
        "data:*",
        "filesystem:/*",
        "drive:*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "https://forms.clickup.com/f/2f4hp-2521/9J8U1BCDXWOEW7HWVS"
      ],
      "js": [
        "/content/delete/deleteHandler.js"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "all_frames": true,
      "js": [
        "/content/WordWriting.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "exclude_globs": [
        "https://meet.google.com/*",
        "https://getelia.com/*",
        "https://dev.getelia.com/*"
      ],
      "css": [
        "/content/styles/content.css"
      ],
      "js": [
        "/lib/sbd.min.js",
        "/lib/confetti.browser.min.js",
        "/lib/Readability.js",
        "/common/common.js",
        "/content/EliaCommon.js",
        "/content/EliaCommunication.js",
        "/content/WordLookup.js",
        "/content/WordPractice.js",
        "/content/WordRecommendation.js",
        "/content/EliaDailyGoals.js",
        "/content/main.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://en.wikipedia.org/wiki/*"
      ],
      "all_frames": true,
      "js": [
        "/content/injectWikiPractice.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://www.youtube.com/*"
      ],
      "all_frames": true,
      "js": [
        "/content/injectYoutubePractice.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://*.facebook.com/*"
      ],
      "all_frames": true,
      "js": [
        "/content/injectFacebookPractice.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "http://localhost:3000/*",
        "https://getelia.com/*",
        "https://dev.getelia.com/*"
      ],
      "js": [
        "/content/login/append.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "https://getelia.com/thank-you*"
      ],
      "js": [
        "/content/thankyou/index.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*",
        "ftp://*/*",
        "file://*/*"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "css": [
        "lib/pdf-js/contentstyle.css"
      ],
      "js": [
        "lib/pdf-js/contentscript.js"
      ]
    },
    {
      "matches": [
        "https://getelia.com/empty.html"
      ],
      "js": [
        "/content/login/session-recovery.js"
      ],
      "all_frames": true
    }
  ],
  "icons": {
    "16": "popup/images/applogo.png",
    "48": "popup/images/applogo.png",
    "128": "popup/images/applogo.png"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; script-src-elem 'self' 'unsafe-inline'  https://www.youtube.com/; object-src 'self'"
  },
  "incognito": "split",
  "background": {
    "service_worker": "bg.js"
  },
  "manifest_version": 3,
  "action": {
    "default_title": "Elia",
    "default_popup": "popup/index.html",
    "default_icon": "popup/images/applogo.png"
  },
  "file_browser_handlers": [
    {
      "default_title": "PDF Viewer",
      "file_filters": [
        "filesystem:*.pdf"
      ],
      "id": "open-as-pdf-dup"
    }
  ]
}