Shtesa Shfletuesi Firefox
  • Zgjerime
  • Tema
    • për Firefox
    • Fjalorë & Paketa Gjuhësore
    • Sajte Shfletuesish të Tjerë
    • Shtesa për Android
Hyni
Paraparje e domain.cls

domain.cls nga Bruce Wen

Add 'domain' to body class

0 (0 reviews)0 (0 reviews)
1 User1 User
Që të përdorni këtë zgjerim, ju duhet Firefox-i
Shkarkoni Firefox-in dhe merrni zgjerimin
Shkarko kartelën

Tejtëdhëna Zgjerimi

Rreth këtij zgjerimi
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}
Komente nga zhvillues
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.
Rated 0 by 0 reviewers
Që të vlerësoni këtë zgjerim, bëni hyrjen
Ende pa vlerësime

Vlerësimi me yje u ruajt

5
0
4
0
3
0
2
0
1
0
Ende pa shqyrtime
Permissions and dataMësoni më tepër

Required permissions:

  • Të hyjë në të dhënat tuaja për krejt sajtet
Më tepër të dhëna
Lidhje shtese
  • Faqe hyrëse
  • Sajt asistence
  • Email Asistence
Version
1.6
Madhësi
68,21 KB
Përditësuar së fundi më
3 vite më parë (22 Shk 2022)
Kategori të Afërta
  • Zhvillim Web
Licencë
Mozilla Public License 2.0
Historik Versionesh
  • Shihini krejt versionet
Shtojeni në koleksion
Raportojeni këtë shtesë
Përkraheni këtë zhvillues

Zhvilluesi i kësaj shtese dëshiron që të ndihmoni duke mbështetur zhvillimin e mëtejshëm të saj përmes një kontributi të vogël.

Kontribuoni tani

Shënime hedhjeje në qarkullim për 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.
Më tepër zgjerime nga Bruce Wen
  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

Shkoni te faqja hyrëse e Mozilla-s

Shtesa

  • Mbi
  • Blog Shtesash Firefox-i
  • Praktikë Mbi Zgjerime
  • Qendër Zhvilluesish
  • Rregulla Për Zhvilluesit
  • Blog Bashkësie
  • Forum
  • Njoftoni një të metë
  • Udhërrëfyes Shqyrtimesh

Shfletues

  • Desktop
  • Mobile
  • Enterprise

Produkte

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatësi
  • Cookies
  • Ligjore

Hiq atje ku shënohet ndryshe, lënda e këtij sajti licencohet sipas licencës Creative Commons Attribution Share-Alike License v3.0 ose çfarëdo versioni të mëvonshëm.