Dodaci za preglednik Firefox
  • Proširenja
  • Teme
    • za Firefox
    • Rječnici i jezični paketi
    • Druge stranice preglednika
    • Dodaci za Android
Prijavi se
Ikona dodatka

Povijest verzija dodatka codefmt — format automation code – 4 verzije

codefmt — format automation code Autor: Josh Ozuna

Još nema ocjena
0 zvjezdica od 5
5
0
4
0
3
0
2
0
1
0
Povijest verzija dodatka codefmt — format automation code – 4 verzije
  • Oprez sa starim verzijama! Ove se verzije prikazuju u svrhu testiranja i referenci.Uvijek koristiti najnoviju verziju dodatka.

  • Najnovija verzija

    Verzija 1.3.2

    Objavljeno 15. tra. 2026 – 25,79 KB
    Radi s firefox 140.0 i novije verzije, android 142.0 i novije verzije
    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.

    Izvorni kod je objavljen pod licencom MIT licenca

    Preuzmi Firefox i nabavi proširenje
    Preuzmi datoteku
  • Starije verzije

    Verzija 1.2.0

    Objavljeno 6. tra. 2026 – 26,64 KB
    Radi s firefox 142.0 i novije verzije
    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

    Izvorni kod je objavljen pod licencom MIT licenca

    Preuzmi datoteku
  • Verzija 1.1.0

    Objavljeno 4. tra. 2026 – 24,19 KB
    Radi s firefox 142.0 i novije verzije
    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.

    Izvorni kod je objavljen pod licencom MIT licenca

    Preuzmi datoteku
  • Verzija 1.0.0

    Objavljeno 31. ožu. 2026 – 18,81 KB
    Radi s firefox 142.0 i novije verzije, android 142.0 i novije verzije

    Izvorni kod je objavljen pod licencom MIT licenca

    Preuzmi datoteku
Idi na početnu stranicu Mozille

Dodaci

  • Informacije
  • Blog za Firefox dodatke
  • Radionica za proširenja
  • Centar za programere
  • Pravila za programere
  • Blog zajednice
  • Forum
  • Prijavi grešku
  • Priručnik za recenziranje

Preglednici

  • Desktop
  • Mobile
  • Enterprise

Proizvodi

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatnost
  • Kolačići
  • Pravne informacije

Osim gdje je drugačije navedeno, sadržaj ove stranice licenciran je pod licencom Creative Commons Imenovanje dijeli pod istim uvjetima verzija 3.0 ili novijoj.