תוספות לדפדפן 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 סקירות)‏0 (0 סקירות)
משתמש אחדמשתמש אחד
הורדת 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.
מדורג 0 על־ידי 0 סוקרים
יש להתחבר כדי לדרג הרחבה זו
אין דירוגים עדיין

דירוג הכוכבים נשמר

5
0
4
0
3
0
2
0
1
0
אין עדיין סקירות
הרשאות ונתוניםמידע נוסף

הרשאות נדרשות:

  • גישה לנתונים שלך מכל האתרים
מידע נוסף
קישורים לתוספת
  • דף הבית
  • אתר תמיכה
  • דוא״ל לתמיכה
גרסה
1.2resigned1
גודל
8.88 ק״ב
עדכון אחרון
לפני שנה (26 אפר׳ 2024)
קטגוריות קשורות
  • אחר
רישיון
MIT License
היסטוריית הגרסאות
  • הצגת כל הגרסאות
הוספה לאוסף
דיווח על תוספת זו
מעבר לדף הבית של Mozilla

תוספות

  • על אודות
  • בלוג התוספות של Firefox
  • Extension Workshop
  • מרכז המפתחים
  • מדיניות למפתחים
  • בלוג קהילה
  • פורום
  • דיווח על תקלה
  • מדריך סקירה

דפדפנים

  • Desktop
  • Mobile
  • Enterprise

מוצרים

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • פרטיות
  • עוגיות
  • מידע משפטי

למעט היכן שצוין אחרת, התוכן באתר זה מוגש בכפוף לגרסה 3.0 של הרשיון Creative Commons Attribution Share-Alike או כל גרסה עדכנית יותר.