Firefox ブラウザーアドオン
  • 拡張機能
  • テーマ
    • Firefox 向け
    • スペルチェック辞書と言語パック
    • 他のブラウザーサイト
    • Android 向けアドオン
ログイン
No Empty iframes のプレビュー

No Empty iframes 作成者: Firefox ユーザー 14450717

Add an empty div to the body of any empty iframes. Supplemental addon to ShadowFox.

0 (0 reviews)0 (0 reviews)
1 User1 User
Firefox をダウンロードして拡張機能を入手する
ファイルをダウンロード

拡張機能メタデータ

この拡張機能について
Test Page


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.
Rated 0 by 0 reviewers
ログインしてこの拡張機能を評価
まだ評価されていません

星の評価を保存しました

5
0
4
0
3
0
2
0
1
0
まだレビューはありません
Permissions and data詳細情報

必要な権限:

  • すべてのウェブサイトの保存されたデータへのアクセス
詳しい情報
アドオンリンク
  • ホームページ
  • サポートサイト
  • サポートメールアドレス
バージョン
1.2resigned1
サイズ
8.88 KB
最終更新日
1年前 (2024年4月26日)
関連カテゴリー
  • その他
ライセンス
MIT License
バージョン履歴
  • すべてのバージョンを見る
コレクションへ追加
このアドオンを報告
Mozilla のホームページへ

アドオン

  • このサイトについて
  • Firefox アドオンブログ
  • 拡張機能ワークショップ
  • 開発者センター
  • 開発者ポリシー
  • コミュニティブログ
  • フォーラム
  • バグを報告
  • レビューガイド

ブラウザー

  • Desktop
  • Mobile
  • Enterprise

製品情報

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • プライバシー
  • Cookie
  • 法的情報

特に 明記されている 場合を除き、当サイト上のコンテンツは Creative Commons 表示・継承ライセンス v3.0 あるいはそれ以降のバージョンで公開されています。