No Empty iframes 제작자: Firefox 사용자 14450717
Add an empty div to the body of any empty iframes. Supplemental addon to ShadowFox.
이 확장 기능을 사용하려면 Firefox가 필요함
확장 메타 데이터
정보
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.
평가
권한더 알아보기
다음 권한 필요:
- 모든 웹사이트에서 사용자의 데이터에 접근
추가 정보
모음집에 추가
Firefox 사용자 14450717 님의 다른 확장 기능
- 아직 평점이 없습니다
- 아직 평점이 없습니다
- 아직 평점이 없습니다
- 아직 평점이 없습니다
- 아직 평점이 없습니다
- 아직 평점이 없습니다