Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

Source Code & Font Viewer — HTML/CSS/JS/JSON/XML 版本历史 - 8 个版本

Source Code & Font Viewer — HTML/CSS/JS/JSON/XML 作者: Nicolas Dos Santos

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
Source Code & Font Viewer — HTML/CSS/JS/JSON/XML 版本历史 - 8 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 1.7.0

    发布于 2026年7月24日 - 501.32 KB
    适用于 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+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.

    源代码遵循 仅 GNU 通用公共许可证 v3.0 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 1.6.1

    发布于 2026年7月22日 - 481.28 KB
    适用于 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

    发布于 2026年7月20日 - 480.3 KB
    适用于 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

    发布于 2026年7月18日 - 154.24 KB
    适用于 firefox 109.0a1 及更高版本
    • 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.

    源代码遵循 仅 GNU 通用公共许可证 v3.0 发布

    下载文件
  • 版本 1.4.0

    发布于 2026年7月17日 - 143.19 KB
    适用于 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.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.

    源代码遵循 仅 GNU 通用公共许可证 v3.0 发布

    下载文件
  • 版本 1.3.0

    发布于 2026年6月30日 - 150.18 KB
    适用于 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

    发布于 2026年5月13日 - 105.52 KB
    适用于 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

    发布于 2026年5月4日 - 103.08 KB
    适用于 firefox 109.0a1 及更高版本

    源代码遵循 仅 GNU 通用公共许可证 v3.0 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

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

最新版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。