
No Empty iframes bởi Người dùng Firefox 14450717
Add an empty div to the body of any empty iframes. Supplemental addon to ShadowFox.
1 người dùng1 người dùng
Siêu dữ liệu mở rộng
Về tiện ích mở rộng này
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.
Được xếp hạng 0 (bởi 1 người dùng)
Quyền hạn và dữ liệuTìm hiểu thêm
Quyền hạn bắt buộc:
- Truy cập dữ liệu của bạn trên mọi trang web
Thêm thông tin
- Liên kết tiện ích
- Phiên bản
- 1.2resigned1
- Kích cỡ
- 8,88 KB
- Cập nhật gần nhất
- một năm trước (26 Thg 04 2024)
- Thể loại có liên quan
- Giấy phép
- Giấy phép MIT
- Lịch sử các phiên bản
- Thêm vào bộ sưu tập