Firefox version of the browser extension

Abierto
#17 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, tauri
Área
desktop, web-dev

Línea de trabajo

Start with set_browsers_connected in src-tauri/src/main.rs and the browser-process allowlist in src-tauri/src/native_host.rs, then read the existing Chrome/Edge extension docs in docs/EXTENSION.md. First decide the extension layout (shared code or extension-firefox/), which the issue asks for before any coding starts. Done means a private Firefox tab hides that window from a screen share and restores it when you switch away, verified on the test page, with Chrome and Edge unchanged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement help wanted

Hidely for browsers works in Chrome and Edge. Firefox isn't supported yet, but it has what's needed: native messaging, the tabs and windows APIs, and window positions.

This is a bigger task, best for someone who knows WebExtensions.

What would need to change

  • Extension: Firefox supports Manifest V3, but some parts differ (for example browser_specific_settings.gecko.id instead of the key field, and background scripts instead of a service worker). One shared code base with a small build step, or a separate extension-firefox/ folder, are both fine. Say which you prefer before starting.
  • Native messaging host: Firefox reads HKCU\Software\Mozilla\NativeMessagingHosts\io.github.codingrule.hidely, and its host file uses allowed_extensions (the extension's ID) instead of allowed_origins. See set_browsers_connected in src-tauri/src/main.rs.
  • Window matching: native_host.rs only accepts known browser processes, so firefox.exe needs adding, and the position-based matching needs checking against Firefox's window coordinates and display scaling.
  • Docs: EXTENSION.md, the Settings label ("Connect Chrome and Edge"), and the README.

Done when

  • Marking a tab private in Firefox keeps that Firefox window out of a screen share, and switching away brings it back, checked on the test page.
  • Chrome and Edge behave exactly as before.
Lenguaje dominante
Rust
Estrellas
7
Forks
1
Merge medio
6 h 34 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodingRule/Hidely

Todos los issues de CodingRule/Hidely

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.