Components adizionâi par Firefox
  • Estensions
  • Temis
    • par Firefox
    • Dizionaris e pachets di lenghis
    • Altris sĂŽts
    • Components adizionâi par Android
Jentre
Anteprime di domain.cls

domain.cls di Bruce Wen

Add 'domain' to body class

0 (0 reviews)0 (0 reviews)
1 utent1 utent
Ti covente Firefox par doprâ cheste estension
Discjame Firefox e instale la estension
Discjame il file

Metadâts de estension

Informazions su la estension
Most web sites pages don't use the domain name as body class to distinguish from other web sites' pages. That makes web page appearance customization hard in some degree. The reason is that people have to distinguish web sites by specific configuration (by domain name, regex etc).

By adding domain name to body classList, the problem could be solved. Web/UI/UX developers can create customized styl, css scripts to re-design web page appearance easily - they can put all customization script together for different web sites and don't need to care about collision.

For example, after using the add-on, the web page will be changed to add domain name to body class attribute.
<body class="mozilla ">
<body class="apache">

Then, in styl or css script file, developer can make customization like below:
body.mozilla {font-size: 15px}
body.apache {font-size: 16px}
Coments dal svilupadĂ´rs
This is for developers working on web site appearance customization.
By adding domain name to body classList, it's easier to define styl, css scripts for specific web sites/pages belong to the same domain without worry about collision among different domains.
Valutât 0 di 0 recensôrs
Jentre par dâ un vôt a cheste estension
No son ancjemò valutazions

Valutazion in stelis salvade

5
0
4
0
3
0
2
0
1
0
Ancjemò nissune recension
Permès e dâtsPlui informazions

Permès obligatoris:

  • Acedi ai tiei dâts di ducj i sĂŽts web
Altris informazions
Colegaments component adizionâl
  • Pagjine iniziâl
  • SĂŽt di supuart
  • E-mail pal supuart
Version
1.6
Dimension
68,21 kB
Ultin inzornament
4 yıl önce (22 Şub 2022)
Categoriis coreladis
  • Disvilup web
Licence
Mozilla Public License 2.0
Cronologjie versions
  • ViĂ´t dutis lis versions
Zonte ae racuelte
Segnale chest component adizionâl
Sosten chest svilupadĂ´r

Il svilupadôr di cheste estension ti domande di sostignÎlu tal so disvilup continuatÎf fasint une piçule donazion.

Fâs une donazion

Notis di publicazion pe version 1.6
To support sub-domain like en.wikipedia.org, we need to use en_wikipedia as body class to distinguish other language version of wikipedia. Similar, google translate should have different body class from gmail.
Altris estensions di Bruce Wen
  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

Va ae pagjine principâl dal sÎt Mozilla

Components adizionâi

  • Informazions
  • Blog dai components adizionâi di Firefox
  • Laboratori estensions
  • Centri di svilup
  • Politichis pal svilupadĂ´r
  • Blog de comunitât
  • Forum
  • Segnale un erĂ´r
  • Vuide pes recensions

NavigadĂ´rs

  • Desktop
  • Mobile
  • Enterprise

Prodots

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riservatece
  • Cookies
  • Notis legâls

Gjavant dulà che al è indict in mÝt diviers, i contignÝts su chest sÎt a son distribuÎts cun licence Creative Commons Atribuzion CondivÎt te stesse maniere v3.0 o versions sucessivis.