Bỏ qua nội dung

FluxDown 0.5.0 ships the native GPUI client — a note from the author on why the whole interface was rebuilt.Take a look

FluxDown
Tải xuống Tài liệu Giá cả Nhật ký thay đổi AI Assistant Tài trợ Đăng nhập
Đóng góp Contributing Sniffing Rules

Trang này chưa được dịch. Giúp dịch →

Đóng góp

Contributing Sniffing Rules

Share a local sniffing rule from the extension to FluxDown cloud — automatic checks, manual review, publication in the community pack, and how to manage your shares.

Chỉnh sửa trang này

A rule that fixes a site for you will probably fix it for everyone. You can share a tested local rule straight from the browser extension to FluxDown cloud: after automatic checks and manual review it joins the community rule pack, which FluxDown cloud publishes and delivers through the desktop app to every user who has community rules enabled — no extension release needed. Official rules are maintained by the FluxDown team in the cloud. What each rule field means is covered in the Sniffing Rules Reference.

No GitHub account or pull request is needed.

Before you start

  • Install and run the FluxDown desktop app on the same computer, signed in to your FluxDown account. The extension submits rules to the cloud through the local desktop app; if you are not signed in, sharing asks you to sign in first.
  • Write the rule under Local Rules in the extension and verify it with the Rule Tester.

How sharing works

  1. Write and test a local rule. Options → Sniffing Rules → Local Rules → New. In the Rule Tester, enter a resource URL and check the verdict; also test a URL that should not match.
  2. Choose “Share to community”. On the rule row, fill in:
    • Title (required): 1–80 characters describing what the rule fixes.
    • Description (optional): up to 1000 characters.
    • Sample URLs: one real http(s) URL per line — pages or resources where the rule should take effect. Prefix a URL with ! to say it must not match, which proves the rule does not overreach. Give at least one matching sample (or include a test).
    • Companion rules (optional): up to 10 related rules (for example a detection rule plus a rule that ignores the site’s ad domain), reviewed and published together as one share.
  3. Automatic checks. They run immediately. If one fails you see the reason right away; fix it and share again.
  4. Manual review. A share that passes the checks is marked “Pending”; a maintainer must approve it before it goes public.
  5. Published. Approved rules join the community pack, grouped by site. The desktop app syncs the pack regularly and the extension syncs from the desktop app (press Sync now to pull immediately). Users need Enable community rules switched on.

Rule ids and versions

After sharing, the cloud gives your rules ids of the form community.<your own namespace>.<name>, sets their tier to community, and bumps versions automatically — you never maintain version numbers. Your local rules are not modified.

What the automatic checks cover

Every share is checked against the list below; a failure on any item keeps it out of review:

  • The rules are valid and respect the community limits: valid fields, safe regular expressions, an explicit site scope (host or pageHost), and no official-only features such as preempt or global strip-params. See limits by tier.
  • Every rule must take effect: each sample (or test) that should match has to change the result because of your rules, and every rule must contribute to at least one sample or test. An address that existing rules already handle does not count as your rule working.
  • No duplicates: a rule semantically identical to a built-in, official or already published community rule is rejected or flagged.
  • Existing rules keep working: with your rules added, the tests of already published rule sets must still pass.
  • ! samples stay untouched: if an address you marked as “must not match” is changed by your rules, the share is rejected.
  • No credentials in sample URLs: no username or password in an address, and no query parameter that carries a real token, signature, session id or password. Replace such values with a placeholder like x.
  • Size and count limits: at most 10 rules, 20 samples and 50 tests per share, and the community pack as a whole must stay within its size and rule-count limits.

Some situations only produce a warning and do not block the share — for example sharing a site with another published or pending rule set.

To keep the review queue manageable: at most 5 shares can wait for review at a time, at most 20 shares per hour (failed attempts count), and a share identical to the published version is reported as “unchanged”.

Managing your shares

In the extension’s Sniffing Rules page, open My Shares to see the status of each share:

Status Meaning
Pending Passed the automatic checks; waiting for a maintainer
Published In the community pack
Rejected A maintainer declined it; the note is shown, and you can fix and share again
Delisted A maintainer removed it from the community pack; the reason is shown
Withdrawn You withdrew it
  • Withdraw: if a revision is pending, withdrawing cancels that revision and the published version (if any) stays live; withdrawing a published share with nothing pending removes it from the community pack.
  • Update: after editing the rule locally, share again from the same main rule (the rule you clicked share on identifies the share). A pending revision is replaced; a published version stays as it is until the new revision is approved, and versions are bumped automatically.
  • A delisted or withdrawn share can be edited and shared again; once approved it is published again.

Delisting and revocation

Maintainers can delist an inappropriate share and, when compliance or safety requires it, revoke its rules. A reason is always recorded. Revoked rules are marked as revoked in the extension’s rule list. Revocation comes in a soft and a hard form — see Revocation. As the author you can see the delist reason in My shares.

Official rules

Official rules (which may use privileged features such as preempt and global strip-params) are maintained by the FluxDown team in the cloud and are not accepted through sharing. If an official rule is wrong, tell us on the feedback page.

How publishing works

The cloud publishes the official pack, the community pack and the revocation list separately over HTTPS. Each document carries a sequence number that only increases; the desktop app ignores anything older than what it already has. The community pack and revocation list are valid for 30 days and are renewed automatically before they expire.

Có gì đó sai trên trang này?

Trang
Hành động
↑↓để điều hướngđể mở