Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

domain.cls 版本历史 - 6 个版本

domain.cls 作者: Bruce Wen

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
domain.cls 版本历史 - 6 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 1.6

    发布于 2022年2月22日 - 68.21 KB
    适用于 firefox 48.0 及更高版本
    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.

    源代码遵循 Mozilla 公共许可证 2.0 发布

    您需要 Firefox 来使用此扩展
    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 1.5

    发布于 2022年2月22日 - 68.21 KB
    适用于 firefox 48.0 及更高版本
    Bug 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('_')
    }

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
  • 版本 1.4

    发布于 2022年2月22日 - 68.17 KB
    适用于 firefox 48.0 及更高版本
    Fix bug:
    by using d_array.slice(start, end) - end is not included. That's different from node.js behavior.

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
  • 版本 1.3

    发布于 2022年2月22日 - 68.17 KB
    适用于 firefox 48.0 及更高版本
    If 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.

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
  • 版本 1.2

    发布于 2022年2月17日 - 8.84 KB
    适用于 firefox 48.0 及更高版本
    By 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.

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
  • 版本 1.1

    发布于 2022年2月16日 - 8.84 KB
    适用于 firefox 48.0 及更高版本
    Fix domain name

    Only choose last 2 parts in document.domain as domain name

    源代码遵循 Mozilla 公共许可证 2.0 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。