Webbläsartillägg för Firefox
  • Tillägg
  • Teman
    • för Firefox
    • Ordlistor & språkpaket
    • Andra webbläsarplatser
    • Tillägg för Android
Logga in
Ikon för tillägg

Source Code & Font Viewer — HTML/CSS/JS/JSON/XML versionshistorik - 9 versioner

Source Code & Font Viewer — HTML/CSS/JS/JSON/XML av Nicolas Dos Santos

Betygsatt 4,5 av 5
4,5 stjärnor av 5
5
1
4
1
3
0
2
0
1
0
Source Code & Font Viewer — HTML/CSS/JS/JSON/XML versionshistorik - 9 versioner
  • Var försiktig med äldre versioner! Dessa versioner visas för test och referensändamål.Du bör alltid använda den senaste versionen av ett tillägg.

  • Senaste version

    Version 1.8.1

    Släppt 20 aug 2026 - 512,47 kB
    Fungerar med firefox 109.0a1 och senare
    • Writing System Selector: The font viewer's preview now offers a writing system dropdown listing only the scripts the loaded font actually covers (detected via the existing canvas coverage probe — no font parsing or extra network). Picking a script fills the preview with a native sample sentence for it. Covers Latin, Greek, Cyrillic, Armenian, Hebrew, Arabic, Devanagari, Thai, Ethiopic, Japanese, Chinese, and Korean. The dropdown is hidden when a single script is detected.
    • Download Button: A toolbar button downloads the formatted source you're viewing. The filename follows the server's Content-Disposition, the URL's own filename, or a download.<ext> default. A downloaded HTML page gets a <base> pointing at the original URL so it still renders (styles, images, scripts) when opened locally, and a downloaded CSS file has its relative url(...)/@import references rewritten to absolute so it keeps finding its fonts and images. (Cross-origin webfonts that the server doesn't expose via CORS won't render from a local file — a fully self-contained download is planned for later.)
    • Search in Source: Cmd/Ctrl+F (or the toolbar search button) now searches the whole source, not just the part rendered in the viewport. Matches are highlighted and scrolled into view as you type, with next/previous, match-case, whole-word, and regular-expression options. The search bar is localized in all languages.
    • Locale-Aware Preview Text: The initial preview text now follows the browser's UI language, derived from its ISO 15924 script (e.g. Japanese, Chinese, or Cyrillic instead of a Latin pangram). This replaces the previous per-locale sample string with a single source of truth shared with the writing-system selector, so the initial text and the "Latin" menu entry no longer diverge.
    • Direct Source Links: Links to CSS/JS/JSON/XML files in the source now point at the real file URL (still shown in place by the extension when navigated to) instead of an encoded viewer.html link, so the address bar keeps a clean, copy-able URL. HTML links still open through the viewer to show their source.
    • Source Text Encoding: Pages that declare their charset only in an HTML <meta> tag or via a malformed Content-Type header were decoded as UTF-8 and showed replacement characters (�) on accented or non-Latin text (e.g. développeurs). The source is now decoded using the charset from the HTTP header (parsed leniently), falling back to the <meta> declaration, then UTF-8. The page-weight status also reflects the true transferred size.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta Firefox och få tillägget
    Hämta fil
  • Äldre versioner

    Version 1.7.0

    Släppt 24 jul 2026 - 501,32 kB
    Fungerar med firefox 109.0a1 och senare
    • Font Viewer: Navigating directly to a font URL (woff2/woff/ttf/otf) now opens a dedicated font viewer with a live preview — editable sample text, adjustable size, bold/italic toggles, and a light/dark background switch — alongside font details (source, format, file size, HTTP status).
    • Glyph Grid: A Glyphs view lists the characters the font actually renders. Hover a cell to see its U+XXXX code point, click to copy the character.
    • HTTP Status in Status Bar: The status bar now surfaces the response's HTTP status.
    • Theme-Aware Link Hover: The link hover color now adapts to the theme type (light or dark).
    • Error Response Bodies: The response body is now shown on an HTTP error status when the server returns one.
    • Authenticated Requests: Credentials are now included in the fetch request, so pages behind a session cookie load correctly.
    • Empty Glyph Grid on Firefox: The glyph-coverage probe canvas is now attached to the document — Firefox only exposes a FontFace-loaded font to a canvas connected to the DOM, so the grid no longer renders empty.
    • Firefox Store Name: Shortened the Firefox extension name to comply with AMO's 45-character limit.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.6.1

    Släppt 22 jul 2026 - 481,28 kB
    Fungerar med firefox 109.0a1 och senare
    Renamed the extension to "Source Code Viewer — HTML/CSS/JS/JSON/XML" and reworded the store summary across all locales to mention the supported languages (HTML, CSS, JavaScript, JSON, XML) and formatting, improving discoverability. No functional changes.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.6.0

    Släppt 20 jul 2026 - 480,3 kB
    Fungerar med firefox 109.0a1 och senare
    v1.6.0 — New highlighting engine & many more themes
    • 🎨 Rebuilt on CodeMirror 6: smoother, more accurate syntax highlighting for HTML, CSS, JavaScript, JSON, and XML.
    • 🌈 45 themes to choose from (light & dark) — up from 8.
    • 🧩 Code folding: collapse and expand blocks of code.
    • ⚡ Themes and language grammars now load on demand, keeping the viewer lean.

    ℹ Because the theme system changed, your previously selected theme resets to the default — just pick your favorite again from the toolbar.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.5.0

    Släppt 18 jul 2026 - 154,24 kB
    Fungerar med firefox 109.0a1 och senare
    • In-Place Auto-Open: Navigating directly to a raw .css/.js/.json/.xml URL now renders the formatted viewer in place — as a full-viewport iframe embedding the viewer page over the original page — instead of redirecting the tab. The address bar keeps the original URL and the browser back button works in a single hop. (Firefox's built-in JSON viewer, when enabled via devtools.jsonview.enabled, still intercepts direct .json navigations before the extension can run.)
    • JSON Support: Added JSON syntax highlighting and formatting (with a safe fallback for invalid JSON), plus content-type-aware file detection — the response's real MIME type now takes precedence over the URL extension (handles extensionless URLs such as fonts.googleapis.com/css2?…).
    • Type-Aware Link Routing: Links in the viewer are now routed by the target's type — image URLs (.png, .svg, …) open in the browser to render natively, while source files reopen in the code viewer. Clickable URLs now also cover CSS url(…) values and the HTML content attribute (e.g. og:image), the latter only when it holds an absolute URL.
    • Theme Stylesheet URL: Theme stylesheets are now resolved via browser.runtime.getURL, so they load correctly regardless of the page hosting the viewer.
    • Line-Number Alignment: Line numbers no longer misalign when word wrap is on. The viewer now waits for fonts (document.fonts.ready) and a frame (requestAnimationFrame) before highlighting, and recomputes line-number row heights whenever word wrap is toggled.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.4.0

    Släppt 17 jul 2026 - 143,19 kB
    Fungerar med firefox 109.0a1 och senare
    • Added
    • Additional Languages: Added Spanish, German, Italian, Japanese, Simplified Chinese, and Portuguese (Brazilian + European) on top of English and French — 9 locales total. The store description is now localized as well.
    • Native Source Viewer Action: Added a toolbar button to open the current page in the browser's built-in view-source: viewer (left click opens in the same tab; middle click or Ctrl/Cmd+click opens in a new tab).
    • Changed
    • Build & Codebase Migration: Migrated the extension to WXT + TypeScript + Vue 3, with behaviour parity. Source is now organized into components, composables, and typed utilities.
    • Toolbar Redesign: Reworked the toolbar into a coherent icon-button bar — word wrap became an icon toggle (highlighted when active), the theme selector gained a palette icon, and the native-viewer action is a dedicated icon button (using @lucide/vue).
    • Localization Overhaul: Switched to YAML-based, type-safe messages via @wxt-dev/i18n; the _locales/*/messages.json files are now generated at build time.
    • Developer Tooling: Added type-aware ESLint, Prettier (printWidth 120), and Stylelint; husky + lint-staged pre-commit hooks; a GitHub Actions CI workflow (lint + typecheck + build); and pinned Node 24 and pnpm via engines/packageManager.
    • Fixed
    • Native Viewer Redirects: The native-viewer action now survives redirects that strip the query string (e.g. sites that 301 /?... back to /). The request is routed through the background script, which tracks the intended tab by id instead of relying on a fragile query parameter, keeping the target URL clean.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.3.0

    Släppt 30 jun 2026 - 150,18 kB
    Fungerar med firefox 109.0a1 och senare
    • feat: display page size in a bottom status bar
    • feat: make URLs clickable in HTML source code
    • feat: implement language-aware code formatting and syntax highlighting for JS, CSS, and HTML files.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.2.0

    Släppt 13 maj 2026 - 105,52 kB
    Fungerar med firefox 109.0a1 och senare
    Update to version 1.2.0:
    - Restricted Domain Handling: Automatic detection of pages where extensions are prohibited (e.g., Chrome Web Store, Firefox Add-ons).
    - Native Fallback System: Added a button to switch to the browser's native source viewer on protected pages.
    - UX Improvements: Added a manual URL copy option if automatic navigation is blocked.
    - Code Refactoring: Centralized detection logic into a shared module.
    - Full Localization: Added comprehensive French and English support for error messages and UI elements.

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
  • Version 1.1.0

    Släppt 4 maj 2026 - 103,08 kB
    Fungerar med firefox 109.0a1 och senare

    Källkod släppt under Endast GNU General Public License v3.0

    Hämta fil
Gå till Mozillas hemsida

Tillägg

  • Om
  • Firefox tilläggsblogg
  • Verkstad för tillägg
  • Utvecklarcenter
  • Utvecklarpolicyer
  • Community-blogg
  • Forum
  • Rapportera en bugg
  • Recensionsriktlinjer

Ladda ner

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

De senaste versionerna

  • Nightly
  • Beta

Firefox för företag

  • Enterprise

Gemenskap

  • Connect
  • Contribute
  • Developer

Följ

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Sekretess
  • Kakor
  • Juridisk information

Om inget annat anges, är innehållet på denna webbplats licensierat under licensen Creative Commons Attribution Share-Alike License v3.0 eller senare version.