История версий «Source Code & Font Viewer — HTML/CSS/JS/JSON/XML» – 9 версий
Source Code & Font Viewer — HTML/CSS/JS/JSON/XML от Nicolas Dos Santos
Будьте осторожны со старыми версиями! Эти версии отображаются только для сведения и в целях тестирования.Вы всегда должны использовать последнюю версию дополнения.
Последняя версия
Версия 1.8.1
Выпущено 20 авг. 2026 г. — 512,47 КБРаботает с firefox 109.0a1 и выше- 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 adownload.<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 relativeurl(...)/@importreferences 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.htmllink, 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 malformedContent-Typeheader 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.
Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Старые версии
Версия 1.7.0
Выпущено 24 июля 2026 г. — 501,32 КБРаботает с firefox 109.0a1 и выше- 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+XXXXcode 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.
Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
- Font Viewer: Navigating directly to a font URL (
Версия 1.6.1
Выпущено 22 июля 2026 г. — 481,28 КБРаботает с firefox 109.0a1 и выше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.Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Версия 1.6.0
Выпущено 20 июля 2026 г. — 480,3 КБРаботает с firefox 109.0a1 и выше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.Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Версия 1.5.0
Выпущено 18 июля 2026 г. — 154,24 КБРаботает с firefox 109.0a1 и выше- In-Place Auto-Open: Navigating directly to a raw
.css/.js/.json/.xmlURL 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 viadevtools.jsonview.enabled, still intercepts direct.jsonnavigations 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 CSSurl(…)values and the HTMLcontentattribute (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.
Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
- In-Place Auto-Open: Navigating directly to a raw
Версия 1.4.0
Выпущено 17 июля 2026 г. — 143,19 КБРаботает с firefox 109.0a1 и выше- 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.jsonfiles are now generated at build time. - Developer Tooling: Added type-aware ESLint, Prettier (
printWidth120), and Stylelint; husky + lint-staged pre-commit hooks; a GitHub Actions CI workflow (lint + typecheck + build); and pinned Node 24 and pnpm viaengines/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.
Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Версия 1.3.0
Выпущено 30 июня 2026 г. — 150,18 КБРаботает с firefox 109.0a1 и выше- 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.
Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Версия 1.2.0
Выпущено 13 мая 2026 г. — 105,52 КБРаботает с firefox 109.0a1 и выше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.Исходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0
Версия 1.1.0
Выпущено 4 мая 2026 г. — 103,08 КБРаботает с firefox 109.0a1 и вышеИсходный код выпущен на условиях: Только Стандартная общественная лицензия GNU v3.0