Firefox version of the browser extension

Đang mở
#17 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, tauri
Lĩnh vực
desktop, web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
7
Fork
1
Merge trung bình
6 giờ 34 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodingRule/Hidely

Tất cả issue của CodingRule/Hidely

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.