Minimal Chrome extension built with Manifest V3.
This first version checks the active browser tab and reports whether the page appears to be rendering a live video stream.
It also includes a mock detection step: if the sampled live video frame is mostly black, it returns 1; otherwise it returns 0.
It does that by inspecting video elements in the page and looking for signals such as:
- a live
MediaStreamattached to the element - current frames being rendered
- playback in progress
- non-zero video dimensions
- a mostly-black frame ratio based on canvas pixel sampling
This is intentionally narrow. It does not yet:
- capture raw tab media
- access the camera device directly
- inspect WebRTC internals
- run your deepfake scoring model
- analyze more than one sampled frame for temporal consistency
manifest.json: MV3 manifest with the minimum permissions needed for this versionpopup.html: action popup markuppopup.css: popup stylingpopup.js: active-tab inspection logic
- Open
chrome://extensionsin Chrome. - Enable Developer mode.
- Click Load unpacked.
- Select this folder.
- Open a browser tab with a live video call.
- Click the extension icon.
Some video-call apps do not expose active media through standard video elements in a way that an injected script can inspect reliably. If that happens, the next step should be a more specific capture path using chrome.tabCapture or an app-specific WebRTC integration.
The mock detector currently samples a single live-looking video element and classifies it as black when at least 85% of opaque sampled pixels have very low luminance.