SafeFrame Firefox

Examine source code of SafeFrame

Par : SafeFrame Add-on
Inspect and view changes in SafeFrame source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "SafeFrame",
  "version": "1.0.7",
  "description": "Censors images and videos at the network/DOM layer, gated by YOLO segmentation: only the masked region of detected enabled classes (person, tie) is censored.",
  "browser_specific_settings": {
    "gecko": {
      "id": "safeframe@safeframe.tech",
      "strict_min_version": "115.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": [
          "technicalAndInteraction"
        ]
      }
    }
  },
  "permissions": [
    "storage",
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "nativeMessaging",
    "clipboardWrite",
    "<all_urls>"
  ],
  "content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';",
  "web_accessible_resources": [
    "lib/onnxruntime-web/ort-wasm-simd-threaded.jsep.wasm",
    "lib/onnxruntime-web/ort-wasm-simd-threaded.jsep.mjs",
    "lib/onnxruntime-web/ort.webgpu.min.js",
    "nudenet_worker.js",
    "yolo_worker.js",
    "model.onnx",
    "nudenet_320n.onnx",
    "lib/gif.js/gif.worker.js",
    "export_worker.js",
    "lib/mp4box/mp4box.all.min.js",
    "lib/mp4-muxer/mp4-muxer.min.js",
    "lib/h264-mp4-encoder/h264-mp4-encoder.js"
  ],
  "icons": {
    "48": "icon.svg",
    "96": "icon.svg",
    "128": "icon.svg"
  },
  "browser_action": {
    "default_title": "SafeFrame",
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icon.svg",
      "32": "icon.svg"
    }
  },
  "background": {
    "scripts": [
      "lib/onnxruntime-web/ort.webgpu.min.js",
      "lib/gifuct-js/gifuct.js",
      "lib/gif.js/gif.js",
      "censor.js",
      "nudenet.js",
      "yolo.js",
      "safeframex.js",
      "oncestore.js",
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "js": [
        "censor.js",
        "content.js",
        "video_content.js"
      ]
    }
  ]
}

Meilleures alternatives SafeFrame

Voici quelques Firefox add-ons qui sont similaires à SafeFrame :