No Empty iframes โดย ผู้ใช้ Firefox 14450717
Add an empty div to the body of any empty iframes. Supplemental addon to ShadowFox.
คุณต้องมี Firefox เพื่อใช้ส่วนขยายนี้
Metadata ส่วนขยาย
เกี่ยวกับส่วนขยายนี้
Test Page
https://overdodactyl.github.io/ShadowFox/no_empty_iframes_testpage
What it does
No Empty iframes adds a blank
That sounds useless...what's the point?
ShadowFox utilizes
Some pages, however, have empty iframes that cause readability issues (see #222).
This extension injects an empty div into such iframes, allowing the rule above to work.
Better approaches?
If anyone has a better approach/workaround for this problem, I would appreciate any suggestions.
https://overdodactyl.github.io/ShadowFox/no_empty_iframes_testpage
What it does
No Empty iframes adds a blank
div
to any iframes that have an empty body
.That sounds useless...what's the point?
ShadowFox utilizes
userContent.css
and userChrome.css
to create a universal dark theme for Firefox. In part, this means styling about:blank
. A complication of this is that about:blank
is also used for anonymous frames on webpages. Generally, iframes will contain content, making the following css rule specific enough:
html > body:empty { background-color: var(--in-content-page-background) !important; }
Some pages, however, have empty iframes that cause readability issues (see #222).
This extension injects an empty div into such iframes, allowing the rule above to work.
Better approaches?
If anyone has a better approach/workaround for this problem, I would appreciate any suggestions.
ให้คะแนนประสบการณ์ของคุณ
สิทธิอนุญาตเรียนรู้เพิ่มเติม
ส่วนเสริมนี้ต้องการ:
- เข้าถึงข้อมูลของคุณสำหรับเว็บไซต์ทั้งหมด
ข้อมูลเพิ่มเติม
- ลิงก์ส่วนเสริม
- รุ่น
- 1.2resigned1
- ขนาด
- 8.88 KB
- อัปเดตล่าสุด
- 2 วันที่แล้ว (26 เม.ย. 2024)
- หมวดหมู่ที่เกี่ยวข้อง
- สัญญาอนุญาต
- สัญญาอนุญาต MIT
- ประวัติรุ่น
เพิ่มไปยังชุดสะสม
ส่วนขยายเพิ่มเติมโดย ผู้ใช้ Firefox 14450717
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ
- ยังไม่มีการจัดอันดับ