Firefox version of the browser extension

Ouverte
#17 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
30/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
rust, tauri
Domaine
desktop, web-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Rust
Étoiles
7
Forks
1
Merge moyen
6 h 34 min
PR mergées (30 j)
2

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CodingRule/Hidely

Toutes les issues de CodingRule/Hidely

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.