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 Public License 2.0 條款釋出

    下載 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 Public License 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 Public License 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 Public License 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 Public License 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 Public License 2.0 條款釋出

    下載檔案
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。