افزونه‌های مرورگر فایرفاکس
  • افزونه‌ها
  • پوسته‌ها
    • برای فایرفاکس
    • واژه‌نامه‌ها و بسته‌های زبان
ورود
پیش‌نمایش Layout Lens

Layout Lens tomvansichem توسط

Hover an element to see its padding and margin, and what silently changed its size: transforms, clipping, min/max.

0 (۰ بررسی)0 (۰ بررسی)
فایرفاکس را دریافت کنید و افزونه را بگیرید
دریافت فایل

فرادادهٔ افزونه

تصاویر صفحه
دربارهٔ این افزونه
Layout Lens answers one question on hover: why is this element the size it is?

It draws the padding and margin overlay, then names the reasons the rendered size disagrees with the CSS you wrote.

What it flags
  • Size mismatch (red). The CSS box size and the painted size disagree. A CSS transform on the element or an ancestor is the usual cause, and the tooltip names which ancestor.
  • Clipped content (amber). overflow: hidden or clip is cutting content off with no scrollbar to reach it, including text-overflow: ellipsis truncation. Scrollable containers are not flagged; that content isn't lost.
  • Width or height pinned by min- or max- (info line). The element is sized by min-width, max-width, min-height or max-height rather than by width or height. Computed style can't show you this; it reports the clamped result.
  • Wider than the viewport (info line). The element's own box runs past the page, a common source of an unwanted horizontal scrollbar.

How it works
  • Alt+S: toggle the inspector on the current tab, all frames
  • Mouse: measure the element under the cursor
  • ↑ / ↓: walk to the parent, then back down toward where you started
  • f: pin an element. The overlay keeps tracking it through scroll, so you can scroll away to compare, or move to DevTools
  • c: copy the measurement block to the clipboard
  • Alt+U: cycle the displayed unit: px → rem → em
  • Esc: off

Shortcuts are rebindable at about:addons → gear menu → Manage Extension Shortcuts.

The page stays fully interactive throughout. Clicks, hovers and scrolling all work. Only ↑ / ↓ / c / f are intercepted, and never while you're typing in a field.

What it doesn't do

No account, no options page, no settings. It does nothing until you press the shortcut, and leaves no trace on the page when you turn it off.

It collects nothing and sends nothing anywhere. It stores one value: an on/off flag per tab, held in memory and cleared when you close the browser. Never written to disk.

Limitations

↑ / ↓ walk one frame's DOM and can't cross an iframe boundary. The size check fires on transforms, not on flex-shrink or zoom, because computed style already reports the used value in those cases.

Source: https://github.com/tomvansichem/layout-lens
امتیاز ۰ توسط ۱ بررسی‌کننده
وارد شوید تا به این افزونه امتیاز دهید
هنوز هیچ امتیازی ثبت نشده است

امتیاز ستاره‌ای ذخیره شد

۵
۰
۴
۰
۳
۰
۲
۰
۱
۰
هنوز بررسی‌ای ثبت نشده است
دسترسی‌ها و داده‌ها

دسترسی‌های الزامی:

  • دسترسی به داده‌های شما در همهٔ وب‌سایت‌ها

جمع‌آوری داده‌ها:

  • به گفته توسعه‌دهنده، این افزونه نیازی به جمع‌آوری داده‌ها ندارد.
اطلاعات بیشتر
اطلاعات بیشتر
پیوند‌های افزونه
  • صفحه نخست
  • سایت پشتیبانی
  • کپی شناسه افزونه
نسخه
1.1.0
اندازه
۲۴٫۳۶ کیلوبایت
آخرین به‌روزرسانی
۸ روز پیش (۲۴ سپتامبر ۲۰۲۶)
دسته‌بندی‌های مرتبط
  • توسعه وب
مجوز
مجوز MIT
خط‌مشی رازداری
خط‌مشی رازداری این افزونه را مطالعه کنید
تاریخچهٔ نسخه‌ها
  • نمایش همه نسخه‌ها
افزودن به مجموعه
گزارش این افزونه
رفتن به صفحه اصلی موزیلا

افزونه‌ها

  • درباره
  • وبلاگ افزونه‌های فایرفاکس
  • کارگاه افزونه
  • مرکز توسعه‌دهندگان
  • سیاست‌های توسعه‌دهنده
  • وبلاگ انجمن
  • انجمن
  • گزارش خطا
  • راهنمای بررسی

بارگیری

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

آخرین نسخه‌های ساخت

  • Nightly
  • Beta

فایرفاکس برای کسب‌وکار

  • Enterprise

انجمن

  • Connect
  • Contribute
  • Developer

دنبال کردن

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • حریم‌خصوصی
  • کوکی‌ها
  • حقوقی

غیر از مواردی که مشخص شده، محتوای این سایت تحت گواهینامه Creative Commons Attribution Share-Alike License v3.0 یا هر نسخه بعدی خواهد بود.