Lisäosan ffprofanity versiohistoria - 5 versiota
ffprofanity tekijä lggcs
Lisäosan ffprofanity versiohistoria - 5 versiota
Ole varovainen vanhojen versioiden kanssa! Ne näytetään vain testauksen ja viittausten vuoksi.On suositeltavaa käyttää aina lisäosan uusinta versiota.
Uusin versio
Versio 1.3.0
Julkaistu 17. elo 2026 - 146,39 ktYhteensopivuus: firefox 142.0 ja uudemmat, android 142.0 ja uudemmat- 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)
Lähdekoodi julkaistu lisenssillä MIT-lisenssi
- Pre-compiled phrase and obfuscation regexes in ProfanityDetector constructor
Vanhemmat versiot
Versio 1.2.0
Julkaistu 29. kesä 2026 - 145,92 ktYhteensopivuus: firefox 142.0 ja uudemmat, android 142.0 ja uudemmatReligious 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 fieldsLähdekoodi julkaistu lisenssillä MIT-lisenssi
Versio 1.1.1
Julkaistu 6. touko 2026 - 145,78 ktYhteensopivuus: firefox 142.0 ja uudemmat, android 142.0 ja uudemmat- 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)
Lähdekoodi julkaistu lisenssillä MIT-lisenssi
- Fix: custom wordlist — preserve default words when adding custom entries, re-detect profanity when wordlist changes, implement - prefix to remove words
Versio 1.1.0
Julkaistu 5. touko 2026 - 140,67 ktYhteensopivuus: firefox 142.0 ja uudemmat, android 142.0 ja uudemmat- 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.
Lähdekoodi julkaistu lisenssillä MIT-lisenssi
- 2embed server support — Video.js page script + extractor for 2embed streaming servers
Versio 1.0.0
Julkaistu 9. huhti 2026 - 121,7 ktYhteensopivuus: firefox 142.0 ja uudemmat, android 142.0 ja uudemmatLähdekoodi julkaistu lisenssillä MIT-lisenssi