MyLOFT Firefox

Examine source code of MyLOFT

Inspect and view changes in MyLOFT source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "MyLOFT",
  "version": "3.2.55",
  "manifest_version": 3,
  "author": "Eclat Engineering Pvt. Ltd.",
  "description": "__MSG_manifest_description__",
  "homepage_url": "https://app.myloft.xyz/",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "myloftprod@myloft.xyz",
      "strict_min_version": "126.0",
      "data_collection_permissions": {
        "required": [
          "browsingActivity",
          "websiteContent",
          "websiteActivity",
          "searchTerms"
        ],
        "optional": [
          "technicalAndInteraction"
        ]
      }
    }
  },
  "default_locale": "en",
  "background": {
    "scripts": [
      "src/bg/service_worker.js"
    ],
    "type": "module"
  },
  "action": {
    "default_icon": "icons/icon19.png",
    "default_title": "__MSG_browser_action_title__",
    "default_popup": "src/browser_action/browser_action.html"
  },
  "options_ui": {
    "page": "src/options/options.html",
    "open_in_tab": false
  },
  "permissions": [
    "webRequest",
    "webRequestAuthProvider",
    "scripting",
    "activeTab",
    "proxy",
    "privacy",
    "cookies",
    "idle",
    "notifications",
    "storage",
    "unlimitedStorage",
    "alarms",
    "webNavigation"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "js": [
        "src/content/inject-icon.js",
        "src/content/search-keyword-analytics.js"
      ]
    },
    {
      "matches": [
        "https://app.myloft.xyz/*"
      ],
      "js": [
        "src/content/external-message-bridge.js"
      ],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "src/domain-rules/domain-rules.html",
        "src/private-browsing-permission/permission-required.html",
        "src/private-browsing-permission/permission-required.js",
        "/icons/*",
        "/src/notifiers/*",
        "/assets/*",
        "/src/content/findDoi.css"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; default-src 'self'  https://*.myloft.xyz https://*.remotexs.cn https://*.eclateng.com https://*.remotexs.co https://*.remotexs.xyz; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; font-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com data:;"
  }
}

ベストのMyLOFT代替案

MyLOFTに類似したFirefox add-onをいくつか紹介します: