ffprofanity 版本历史 - 8 个版本
ffprofanity 作者: lggcs
ffprofanity 版本历史 - 8 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 1.5.0
发布于 2026年11月17日 - 171.22 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本ffprofanity 1.5.0 (2026-11-17) — sync arbitration and capture hardening
Features
- Cross-track sync arbitration: when text-matching proves the playing
track disagrees with its reference, the addon switches to the
better-synced same-language track. Switch gates are fail-closed and
verdicts session-only; an explicit user pick is terminal, and the
popup shows when automatic timing is suspended and lets it resume
- Sync verdict surfaced in the popup as a chip naming the track the
display agrees with
- Popup counters (Total Cues / Profanity) and the track section refresh
live when cue processing completes — no reopen needed
- Track naming: relay code/name forms map to language display names,
unknown labels resolve, the popup list sorts by language, and
"(a)"-style variants are demoted in auto-selection
- PlutoTV: captions auto-engage without the CC click, and the player's
own captions stay suppressed while ours render (popup Disable restores
the site's captions)
- YouTube: captions re-arm per video through the player API so capture
survives navigation
- Shorts: startup blackout covers autoplay opening profanity until
capture arms (8s bound)
Fixes
- Seek/skip landings no longer bias auto-drift anchors: ±10s skip
buttons could shift subtitles and mute windows late, compounding
across skips
- Playlist watch pages keep captures that land before the session reset
finishes; a 2s watchdog keeps probing until the current video's
capture arrives
- YouTube timedtext refetches that replace the whole track list no
longer lose the working capture stream (bare timedtext URLs and
full-list-replace merges handled)
- The PAL cross-transfer switch no longer stalls on ties, clones and
junk fits
- Shorts cover their first cue sooner (caption-enable timings tightened
across init, navigation and readiness polling)
Detection
- Bare "shag" removed from the default wordlist (Scooby-Doo false
positive); obfuscation handling untouched
Tests
- 14 suites / 303 tests passing (258 tests at 1.4.1); dev and prod
builds exit 0
XPI: artifacts/ffprofanity-1.5.0.xpi源代码遵循 MIT 许可证 发布
较早版本
版本 1.4.1
发布于 2026年11月12日 - 162.02 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本ffprofanity 1.4.1 (2026-11-12) — patch-sync change log
New site support
- TikTok caption extraction (MAIN-world page script)
- YouTube Shorts: path video IDs, live player, relay handshake
- PeerTube: inline extractor + captions API
- Replaced FMovies and dead 123chill/123movies.uk extractors with
CineLite and BingeWatch
Fixes
- Subtitle detection failures on flixmovie.cc
- Auto drift on Video.js overrideNative players
- Subtitles stopping early when a site serves a truncated track
- Subtitle state reset when SPA players change videos
- Composed interceptor scripts that failed to parse
- Settings consistency between popup and options page
- O(text^2) scan in the profanity detector (faster on long cues)
Performance
- Cut per-frame and idle work for low-end and mobile devices
Code health
- tsconfig compiles clean (three pre-existing tsc errors fixed)
- Composed-script parse check now also runs in production builds:
the new check anchored on names erased by --minify, so
./build.sh prod failed at the check before this fix
Tests
- 4 new suites: extractor, PeerTube, TikTok, tracks
- 258/258 passing; dev and prod builds exit 0
XPI: artifacts/ffprofanity-1.4.1.xpi源代码遵循 MIT 许可证 发布
版本 1.4.0
发布于 2026年9月29日 - 152.84 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本ffprofanity 1.4.0 (2026-09-28)
Features
- Auto drift correction: watches the site's own subtitle track and
self-syncs as the movie plays (native-track cuechange pairing,
offset + rate model, auto anchors capped/validated; opt-out in
Options → Timing Sync)
- Manual and automatic sync are now mutually exclusive: moving the
offset slider (popup, Options, or Alt+←/→) immediately disables
auto-sync with an on-page notice; re-enabling auto takes the slider
back to 0 on lock-on. No double-correction in either direction.
- "Sync now" (popup / Alt+S) now reports its result in the popup:
correction applied, anchors needed, or anchor rejected.
- Firefox Android: popup opens as a tab there — tab-aware targeting,
saves are verified (failed writes now say "Save failed — try again"),
toggle falls back to direct delivery if the background is asleep.
- Popup's Audio Sync mode line updates live when settings change
elsewhere (no reopen needed); fixed settings form init order.
Detection
- Wordlist additions from a real-movie audit (Quantum Supremacy 2025,
1116 cues): shitter/shitters, bloody, frickin/frickin'/fricking,
friggin/friggin'/frigging. No obfuscated forms missed.
Code health
- Fixed all 230 noUncheckedIndexedAccess type errors with real guards;
no tsconfig weakening, no!/as any, no behavior change.
XPI: artifacts/ffprofanity-1.4.0.xpi源代码遵循 MIT 许可证 发布
版本 1.3.0
发布于 2026年8月17日 - 146.39 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本- Pre-compiled phrase and obfuscation regexes in ProfanityDetector constructor
(eliminates per-call RegExp construction in detect()) - Pre-compiled single SUBSTITUTION_REGEX at module level for normalizeText()
- Added O(1) cue-by-ID Map in CueIndex (replaces per-frame O(n) Array.find)
- Added binary search to CueIndex.getNextCues() (O(log n) vs O(n))
- Added CueIndex.getProfanityCueCount(), replaced cues.filter() at hot paths
- Skip RAF loop work when video is paused (keep loop alive for resume)
- Replace unconditional cues.sort() with isSorted check (merge-aware)
- Removed dead normalizedText variable in detect()
- Removed redundant inline sort in PlutoTV accumulation path
- Type-annotate regex match variables as RegExpExecArray | null
- Re-export ProfanityWindow type for content script import
- Add tabId guards in background message handler
- Type-annotate DNR rules as browser.declarativeNetRequest.Rule[]
- Cast TextTrackCue to VTTCue for .text property access
- Cast nativeOpen.apply() through unknown to XMLHttpRequest
- Type-annotate .text() callback param in fandango
- Cast querySelector('track') to HTMLTrackElement
- Wrap querySelectorAll results in Array.from() in all page-scripts
- 191 tests across 5 test files (up from 187)
- 4 new tests for word detection (standalone, split, hyphenated, compound)
源代码遵循 MIT 许可证 发布
- Pre-compiled phrase and obfuscation regexes in ProfanityDetector constructor
版本 1.2.0
发布于 2026年6月29日 - 145.92 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本Religious compound profanity support and false positive fixes:
- Add explicit combinations (blocked at all levels)
- Update phrase regex to match hyphenated variants
- Whitelist "damnable" at Low sensitivity (theological term)
- Remove "naked" from wordlist (not profanity)
- Verified zero false positives on two religious sermon SRTs
Fix disable button: clear overlay, unmute, persist state, reach all frames
Fix pre-existing TypeScript errors: undeclared vars, dead code, missing Cue fields源代码遵循 MIT 许可证 发布
版本 1.1.1
发布于 2026年5月6日 - 145.78 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本- Fix: custom wordlist — preserve default words when adding custom entries, re-detect profanity when wordlist changes, implement - prefix to remove words
- Fix: unmute handler regression — corrects unmute logic that broke after prior changes
- Fix: user subtitle unload — properly handle unloading user-uploaded subtitles
- Security hardening — input validation, SSRF fix, XSS defense-in-depth, mute race condition fix
- Improve silly substitutions — family-friendly substitution updates
- Monkey fast path cleanup — code cleanup for monkey emoji substitution path
- Dependency upgrades — esbuild 0.28.0, vite 8.0.10, vitest 4.1.5, postcss ≥8.5.10 (resolves 5 moderate vulnerabilities)
源代码遵循 MIT 许可证 发布
- Fix: custom wordlist — preserve default words when adding custom entries, re-detect profanity when wordlist changes, implement - prefix to remove words
版本 1.1.0
发布于 2026年5月5日 - 140.67 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本- 2embed server support — Video.js page script + extractor for 2embed streaming servers
- Shared module extraction — refactored all 7 page scripts to use shared page-script-helpers, network-interception, hls-parser, and videojs-helpers modules
- Popup upload button fix — upload button now visible when no subtitles are auto-detected, allowing users to provide their own.
源代码遵循 MIT 许可证 发布
- 2embed server support — Video.js page script + extractor for 2embed streaming servers
版本 1.0.0
发布于 2026年4月9日 - 121.7 KB适用于 Firefox 142.0 及更高版本, Firefox for Android 142.0 及更高版本源代码遵循 MIT 许可证 发布