No Empty iframes от Firefox user 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.
Дайте оценка
ПраваНаучете повече
Добавката иска:
- Достъпва данните ви за всички страници
Повече информация
- Препратки
- Издание
- 1.2resigned1
- Размер
- 8,88 KB
- Последно обновяване
- преди 2 дена (26 апр 2024)
- Подобни категории
- Лиценз
- The MIT License
- Хронология на изданията
Добавяне към списък
Повече разширения от Firefox user 14450717
- Все още няма оценки
- Все още няма оценки
- Все още няма оценки
- Все още няма оценки
- Все още няма оценки
- Все още няма оценки