Doplňky do prohlížeče Firefox
  • Rozšíření
  • Motivy vzhledu
    • pro Firefox
    • Slovníky a jazykové balíčky
    • Ostatní stránky prohlížeče
    • Doplňky pro Android
Přihlásit se
Ikona doplňku

Historie doplňku codefmt — format automation code - 4 verze

codefmt — format automation code od Josh Ozuna

Zatím nehodnoceno
Hodnocení: 0 z 5
5
0
4
0
3
0
2
0
1
0
Historie doplňku codefmt — format automation code - 4 verze
  • Se starými verzemi opatrně! Tyto verze jsou zde dostupné jen pro testovací a referenční účely.Používat byste vždy měli nejnovější verzi doplňku.

  • Nejnovější verze

    Verze 1.3.2

    Vydáno 15. dub 2026 – 25,79 KB
    Funguje s: firefox 140.0 a novější, android 142.0 a novější
    v1.3.2 — full feature parity with Chrome + reliability + compliance

    This version brings Firefox to parity with Chrome and adds a year's worth of reliability improvements. Most users will
    notice the extension is faster, more resilient, and finally has a proper keyboard shortcut.

    New keyboard shortcut
    - Press ⇧⌘F (macOS) / Ctrl+Shift+F (Windows/Linux) on any supported editor page to format the active code block. The
    shortcut is now registered through Firefox's native commands system, so it's user-customizable at about:addons → ⚙ →
    Manage Extension Shortcuts and it no longer conflicts with Monaco / CodeMirror's built-in shortcuts.

    Onboarding
    - First-time installs now open the codefmt extension page so you can see which platforms are supported and how to use it.

    Visible "live" indicator
    - The toolbar icon now shows a small "fmt" badge whenever you're on a supported automation-platform editor, so you know
    the extension is ready to format without guessing.

    Reliability improvements
    - Offline detection: if your network is down, codefmt tells you immediately instead of hanging on a failed request.
    - Automatic one-shot retry on transient network errors (with a 400 ms backoff), so a flaky connection doesn't make you
    re-click the format button. 4xx / auth / payload errors never retry — only genuinely transient failures.
    - Request timeout + abort so a stuck server never leaves your editor locked up.
    - Response shape validation: the extension now rejects malformed API responses instead of inserting garbage into your
    editor.

    Security hardening
    - Tight extension-page CSP locks the popup to self-only scripts, objects, and base URIs, with no framing allowed.
    - Sender validation on every cross-context message.
    - Pre-flight payload size check (50 KB limit) before network traffic.

    Popup polish
    - Format button now autofocuses when the popup opens. Respects system color-scheme. Explicit button types to prevent
    accidental form submission.

    Platform variants cleanup
    - Retires legacy pipedreamType: "codeStep" (now "action") and drops makeModuleType entirely. An automatic one-time
    migration on upgrade rewrites any stored legacy values — you won't notice anything unless you were a very early adopter on
    Pipedream, in which case your existing preference is preserved as "action".

    Privacy compliance
    - Declares the new Firefox data collection category (websiteContent) so users installing from AMO see an accurate consent
    prompt about what the extension handles.
    - Minimum Firefox version raised to 140 (desktop) / 142 (Android) to match the Firefox release where the data-consent
    system became available. Users on older Firefox can continue using codefmt v1.2.0 until they update.

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout Firefox a nainstalovat toto rozšíření
    Stáhnout soubor
  • Starší verze

    Verze 1.2.0

    Vydáno 6. dub 2026 – 26,64 KB
    Funguje s: firefox 142.0 a novější
    v1.2.0 adds platform-aware formatting for HubSpot Design Manager, security improvements, and a refreshed popup UI.

    New features:
    • the extension now detects which platform you're on and shows it in the popup menu with a direct link to configure settings on codefmt.dev
    • HubSpot Design Manager support: format module.html (HubL), module.css, and module.js files directly in the Design Manager editor
    • CodeMirror 5 editor support (used by HubSpot Design Manager)
    • content type auto-detection: the extension identifies whether your code is HubL, HTML, CSS, or JavaScript and routes it to the correct formatter

    Security improvements:
    • bridge authentication prevents page scripts from accessing the editor bridge
    • sender validation ensures only supported platform domains can trigger formatting
      -payload validation with size limits enforced before sending to the API
    • request timeout (30 seconds) prevents hanging requests

    Other changes:
    • updated extension name and description for better discoverability
    • popup now shows the detected platform name and links to the corresponding codefmt.dev settings page

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout soubor
  • Verze 1.1.0

    Vydáno 4. dub 2026 – 24,19 KB
    Funguje s: firefox 142.0 a novější
    v1.1.0 — Firefox support, multi-editor engine, language detection
    • Added Firefox support via wrappedJSObject page access
    • Added CodeMirror 6 support (Pipedream, n8n)
    • Monaco editor write-back now works on Zapier (MAIN world bridge)
    • Auto-detects JavaScript vs Python from editor language attributes
    • Platform-aware defaults: Zapier JS (80w, single quotes), Python (88w, Ruff defaults)
    • Settings sync from codefmt.dev
    • Format via keyboard shortcut (Cmd/Ctrl+Shift+F) or popup button. Context menu available on platforms that don't override right-click.

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout soubor
  • Verze 1.0.0

    Vydáno 31. bře 2026 – 18,81 KB
    Funguje s: firefox 142.0 a novější, android 142.0 a novější

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout soubor
Přejít na domovskou stránku Mozilly

Počet doplňků

  • O nás
  • Blog doplňků pro Firefox
  • Workshop tvorby rozšíření
  • Pro vývojáře
  • Pravidla pro vývojáře
  • Blog komunity
  • Fórum
  • Nahlásit chybu
  • Příručka recenzenta

Prohlížeče

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Ochrana soukromí
  • Cookies
  • Právní informace

Není-li uvedeno jinak, obsah této stránky je šířen pod licencí Creative Commons Uveďte původ-Zachovejte licenci 3.0 nebo jakoukoli novější verzí.