Track your Input Firefox

Examine source code of Track your Input

提供元: Yoreni
Inspect and view changes in Track your Input source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Track your Input",
  "version": "0.3.2",
  "permissions": [
    "storage"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "@trackyourinput_",
      "data_collection_permissions": {
        "required": [
          "browsingActivity",
          "websiteActivity"
        ]
      }
    }
  },
  "icons": {
    "64": "logo64.png"
  },
  "background": {
    "scripts": [
      "src/background.js"
    ],
    "service_worker": "src/background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "src/trackers/track-video-html.js"
      ],
      "exclude_matches": [
        "*://*.youtube.com/*"
      ]
    },
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "exclude_matches": [
        "*://www.youtube.com/embed/*"
      ],
      "js": [
        "src/trackers/track-youtube.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://www.youtube.com/embed/*",
        "*://www.youtube-nocookie.com/embed/*"
      ],
      "js": [
        "src/trackers/inject-yt-iframe-api.js"
      ],
      "run_at": "document_idle",
      "all_frames": true
    }
  ],
  "action": {
    "default_popup": "index.html"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "track-embeded-youtube.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

ベストのTrack your Input代替案

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