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 MOC Source - 3 verze

MOC Source od moc-source

Zatím nehodnoceno
Hodnocení: 0 z 5
5
0
4
0
3
0
2
0
1
0
Historie doplňku MOC Source - 3 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 0.4.18

    Vydáno 19. čvc 2026 – 119,1 KB
    Funguje s: firefox 142.0 a novější
    • Fixed (actual root cause): every Wanted List / Cart detail page has been permanently unable to load PAB prices since v0.4.17. That release's Project-detail listener-stacking fix accidentally also touched attachDetailListeners (a completely unrelated function used by all list/cart detail pages), converting a working content.addEventListener("click", ...) call into addClick(...) — but addClick is only defined as a local helper inside renderProjectDetail, not here. Calling it threw ReferenceError: addClick is not defined on every single page visit, which aborted renderDetailView() — and since that call happens before renderListDetail's PAB-price fetch loop, the fetch loop never ran at all, leaving every row frozen at its initial "…" placeholder. (Confirmed via git log -p showing the accidental find-replace, and by reproducing the exact call chain in Node to verify the fetch never fires once the throw happens.) Gave attachDetailListeners its own cleanup-tracked addListener/addClick helpers (same pattern as renderProjectDetail's, since this function has the identical repeated-call-on-persistent-container structure) and converted its other two direct content.addEventListener calls to use them too, so they stop stacking across re-renders as well.
    • Hardened (real but secondary): renderListDetail and the Project pool section each fetch every part's PAB price in parallel via Promise.all, which fails the whole batch if even one chrome.runtime.sendMessage rejects (e.g. a transient MV3 message-channel hiccup). Switched to Promise.allSettled so one bad fetch can't block the rest of a page's prices from rendering. This wasn't the cause of the "stuck at …" reports above (the addClick crash was), but it's a legitimate robustness gap worth closing regardless.
    • Changed: standardized price rounding across the extension. User-facing prices now always show exactly 2 decimals — the BrickLink-page "below PAB"/"BL avg" caption dropped from 3 decimals, and the Cart Jigsaw SPA's Store Price columns (which previously showed BrickLink's raw scraped text verbatim, e.g. $0.0812US) now parse and format to $X.XX. Cart cost calculations still sum true, unrounded per-item prices as before (no change there — they already did this correctly) but the final "what you'll pay" totals (LEGO cart total, BrickLink cart total incl. shipping, Project Grand Total) now round up to the next cent instead of to the nearest cent, via a new ceilToCents() helper, so a total is never shown lower than what the real sum comes to. Per-channel subtotals and savings/delta figures (PAB Savings, "switch to save ~$X", Store Savings Scanner) are unaffected — still plain nearest-cent display, since they're informational breakdowns/estimates, not a standalone amount owed. Also widened content.js's scrapeRowPrice() regex, which previously truncated BrickLink's own displayed price to exactly 2 decimals before using it

    Zdrojový kód zveřejněn pod licencí Pouze GNU Affero General Public License v3.0

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

    Verze 0.4.17

    Vydáno 17. čvc 2026 – 116,46 KB
    Funguje s: firefox 142.0 a novější
    Fixed: On the Project page, clicking things (dialogs, saving Scratch Space) could sometimes require multiple clicks or show duplicate popups after using the page for a while in one session. Now works correctly every time.
    Fixed: Projects now correctly account for parts you already have. If you want 4 of a part and already have 2, the Project pool now only counts 2 as still needed — previously it ignored "Have" and could try to source more than you actually needed.

    Zdrojový kód zveřejněn pod licencí Pouze GNU Affero General Public License v3.0

    Stáhnout soubor
  • Verze 0.4.13

    Vydáno 14. čvc 2026 – 115,62 KB
    Funguje s: firefox 142.0 a novější
    v0.4.13

    Fixed unescaped part/list names in a handful of DOM-rendering locations (BrickLink wanted-list picker, cart-update modal, and the Projects pool/scratch-space row renderers) — names now consistently pass through HTML-escaping before being inserted into the page, matching the pattern already used everywhere else in the codebase.
    Added browser_specific_settings.gecko.data_collection_permissions per Mozilla's new disclosure requirement (declared: websiteContent — part/color identifiers derived from BrickLink page content, sent to our own API for price lookups; nothing else is collected or transmitted).
    First submission built from a shared Chrome/Firefox source tree — functionality matches the existing Chrome Web Store listing (ID hoglacgnlglnbpeffbdndnhaokiojigh), no Firefox-specific behavior differences.

    Zdrojový kód zveřejněn pod licencí Pouze GNU Affero General Public License v3.0

    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

Na stažení

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Nejnovější sestavení

  • Nightly
  • Beta

Firefox pro firmy

  • Enterprise

Komunita

  • Connect
  • Contribute
  • Developer

Sledujte nás

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 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í.