Historia de versiones de domain.cls - 6 versiones
domain.cls per Bruce Wen
Historia de versiones de domain.cls - 6 versiones
Que tu es attente con le vetere versiones! Iste versiones es monstrate pro uso de test o referentia.Tu deberea sempre usar le ultima version de un additivo.
Ultime version
Version 1.6
Publicate le 22. feb 2022 - 68,21 KBFunctiona con firefox 48.0 e plus recenteTo 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.Codice fonte publicate sub Licentia public Mozilla 2.0
Discarga Firefox installa le extensionTu pote usar iste extension solo sur FirefoxVersiones previe
Version 1.5
Publicate le 22. feb 2022 - 68,21 KBFunctiona con firefox 48.0 e plus recenteBug fix:
If domain name consists of 2 or 3 labels, the code below won't work - it will return empty:
d_core = d_parts.slice(1, d_parts.length-1).join('_')
It's fixed as:
var d_core = d_parts[d_parts.length-2]
if (d_parts.length > 3){
d_core = d_parts.slice(1, d_parts.length-1).join('_')
}Codice fonte publicate sub Licentia public Mozilla 2.0
Version 1.4
Publicate le 22. feb 2022 - 68,17 KBFunctiona con firefox 48.0 e plus recenteFix bug:
by using d_array.slice(start, end) - end is not included. That's different from node.js behavior.Codice fonte publicate sub Licentia public Mozilla 2.0
Version 1.3
Publicate le 22. feb 2022 - 68,17 KBFunctiona con firefox 48.0 e plus recenteIf domain name consists of more than 3 labels, then use labels from 2nd to the one before last as the body class name. The dot will be replaced with underscore.
For example, if domain name is sandbox.gitlab.test.java.oracle.com, then use "gitlab_test_java_oracle" as body class.Codice fonte publicate sub Licentia public Mozilla 2.0
Version 1.2
Publicate le 17. feb 2022 - 8,84 KBFunctiona con firefox 48.0 e plus recenteBy using domain name and top level domain are not necessary, and it will cause css misunderstanding the 'class' name as the dot '.' is special keyword for css class selector.
Thus, change to use domain name only as body class.Codice fonte publicate sub Licentia public Mozilla 2.0
Version 1.1
Publicate le 16. feb 2022 - 8,84 KBFunctiona con firefox 48.0 e plus recenteFix domain name
Only choose last 2 parts in document.domain as domain nameCodice fonte publicate sub Licentia public Mozilla 2.0