Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveDFD Stream Check

Minimal Chrome extension built with Manifest V3.

What it does

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 MediaStream attached 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

Files

  • manifest.json: MV3 manifest with the minimum permissions needed for this version
  • popup.html: action popup markup
  • popup.css: popup styling
  • popup.js: active-tab inspection logic

Load locally

  1. Open chrome://extensions in Chrome.
  2. Enable Developer mode.
  3. Click Load unpacked.
  4. Select this folder.
  5. Open a browser tab with a live video call.
  6. Click the extension icon.

Current limitation

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages