Dodaci za preglednik Firefox
  • Proširenja
  • Teme
    • za Firefox
    • Rječnici i jezični paketi
    • Druge stranice preglednika
    • Dodaci za Android
Prijavi se
Pregled za No Empty iframes

No Empty iframes Autor: Korisnik Firefoxa 14450717

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

0 (0 recenzije)0 (0 recenzije)
1 korisnik1 korisnik
Preuzmi Firefox i nabavi proširenje
Preuzmi datoteku

Metapodaci proširenja

Informacije o ovom proširenju
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.
Ocjena 0 od strane 0 korisnika
Prijavi se i ocijeni ovo proširenje
Još nema ocjena

Ocjena je spremljena

5
0
4
0
3
0
2
0
1
0
Još nema recenzija
Dozvole i podaci

Potrebne dozvole:

  • Pristupiti tvojim podacima za sve web stranice
Saznaj više
Daljnje informacije
Poveznice dodatka
  • Početna stranica
  • Stranica podrške
  • E-adresa podrške
Verzija
1.2resigned1
Veličina
8,88 KB
Zadnje aktualiziranje
prije 2 godine (26. tra. 2024)
Povezane kategorije
  • Ostalo
Licenca
MIT licenca
Povijest verzija
  • Pogledaj sve verzije
Dodaj u zbirku
Prijavi ovaj dodatak
Idi na početnu stranicu Mozille

Dodaci

  • Informacije
  • Blog za Firefox dodatke
  • Radionica za proširenja
  • Centar za programere
  • Pravila za programere
  • Blog zajednice
  • Forum
  • Prijavi grešku
  • Priručnik za recenziranje

Preglednici

  • Desktop
  • Mobile
  • Enterprise

Proizvodi

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatnost
  • Kolačići
  • Pravne informacije

Osim gdje je drugačije navedeno, sadržaj ove stranice licenciran je pod licencom Creative Commons Imenovanje dijeli pod istim uvjetima verzija 3.0 ili novijoj.