Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Inherited Getters in DevTools 预览

Inherited Getters in DevTools 作者: VertiGISMichael

Shows inherited JavaScript getters (such as ArcGIS Accessor properties) at the top level of expanded objects in the Firefox console, the way Chrome DevTools does.

实验性实验性
可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件
扫码在 Android 版 Firefox 中打开此扩展

扩展元数据

屏幕截图
An expanded object in the Firefox console. Its own properties (height, id, width) are listed first, followed by getters inherited from its class (area, isSquare, label) in grey with their current values. No need to dig through <prototype>.
关于此扩展
When you expand an object in the Firefox console, properties defined as getters on its class appear only inside <prototype>, sometimes several levels down. Chrome DevTools lists them directly on the object. This add-on brings that behaviour to Firefox.

Expanded objects show:
• Their own properties
• Getters inherited from the prototype chain, greyed out, with their current values
• A [[Prototype]] entry that opens Firefox’s normal view, methods included

Nested objects use the same view, so you can keep drilling down. The collapsed header shows the class name and, when available, the object’s title or id (for example esri.layers.FeatureLayer {…} "Parcels").

It’s especially useful for libraries built on class getters, such as the ArcGIS Maps SDK for JavaScript, where most properties (layers, basemap, allLayers) are accessors.

Plain objects, arrays, built-ins like Map and Date, and DOM nodes keep Firefox’s default display.

Setup: open DevTools Settings (F1) → Advanced settings, check “Enable custom formatters”, then reopen DevTools and reload the page.

Note: inherited getters run when you expand an object, so their current values can be shown. A getter that throws shows an error message instead of breaking the view.

The add-on collects no data and makes no network requests. It only adds a DevTools custom formatter to pages you open.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 复制附加组件 ID
版本
1.0.1
大小
11.88 KB
上次更新
1 个月前 (2026年11月2日)
相关分类
  • 网页开发
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

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

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。