WatchRoom Firefox

Examine source code of WatchRoom

Inspect and view changes in WatchRoom source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "WatchRoom",
  "description": "WatchRoom allows many users from different locations to join a room where they can watch the same video together synchronized",
  "version": "1.0.3",
  "minimum_chrome_version": "116",
  "permissions": [
    "storage",
    "clipboardWrite"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "watchroomext@gmail.com",
      "strict_min_version": "109.0"
    }
  },
  "icons": {
    "16": "icons/icon-16.png",
    "32": "icons/icon-32.png",
    "64": "icons/icon-64.png"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "dist/contentScript.js"
      ],
      "exclude_matches": [
        "https://static.crunchyroll.com/vilos-v2/web/vilos/player.html*",
        "https://www.crunchyroll.com/watch/*"
      ]
    },
    {
      "matches": [
        "https://static.crunchyroll.com/vilos-v2/web/vilos/player.html*"
      ],
      "js": [
        "dist/contentScript.js"
      ],
      "all_frames": true,
      "my-description": "Crunchyroll uses an iframe to load the video player at the matched url, so this rule covers this use case without exposing the 'all_frames' rule to all urls"
    },
    {
      "matches": [
        "https://www.netflix.com/*"
      ],
      "js": [
        "dist/netflixContentScript.js"
      ],
      "my-description": "Netflix crashes when setting currentTime on video element, so have to inject a script that can access the raw window object to access and use window.netflix"
    }
  ],
  "background": {
    "service_worker": "dist/serviceWorker.js",
    "scripts": [
      "dist/serviceWorker.js"
    ]
  },
  "action": {
    "default_icon": {
      "16": "icons/icon-16.png",
      "32": "icons/icon-32.png",
      "64": "icons/icon-64.png"
    },
    "default_popup": "browserAction/index.html",
    "default_title": "WatchRoom"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "dist/netflix.js"
      ],
      "matches": [
        "https://www.netflix.com/*"
      ]
    }
  ]
}

Best WatchRoom Alternatives

Here are some Firefox add-ons that are similar to WatchRoom: