Doplnky pre prehliadač Firefox
  • Rozšírenia
  • Témy vzhľadu
    • Pre Firefox
    • Slovníky a jazykové balíky
    • Stránky ostatných prehliadačov
    • Doplnky pre Android
Prihlásiť sa
Ikona doplnku

História doplnku domain.cls - 6 verzií

domain.cls Autor: Bruce Wen

Doplnok zatiaľ nie je ohodnotený
Hodnotenie: 0 z 5
5
0
4
0
3
0
2
0
1
0
História doplnku domain.cls - 6 verzií
  • So starými verziami buďte opatrní! Tieto verzie sú zobrazené za účelom testovania a referencie.Vždy by ste mali používať najnovšiu verziu doplnku.

  • Najnovšia verzia

    Verzia 1.6

    Vydaná 22. feb 2022 - 68,21 kB
    Funguje s: firefox verzia 48.0 a novšia
    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.

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť Firefox a získať rozšírenie
    Stiahnuť súbor
  • Staršie verzie

    Verzia 1.5

    Vydaná 22. feb 2022 - 68,21 kB
    Funguje s: firefox verzia 48.0 a novšia
    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('_')
    }

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť súbor
  • Verzia 1.4

    Vydaná 22. feb 2022 - 68,17 kB
    Funguje s: firefox verzia 48.0 a novšia
    Fix bug:
    by using d_array.slice(start, end) - end is not included. That's different from node.js behavior.

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť súbor
  • Verzia 1.3

    Vydaná 22. feb 2022 - 68,17 kB
    Funguje s: firefox verzia 48.0 a novšia
    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.

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť súbor
  • Verzia 1.2

    Vydaná 17. feb 2022 - 8,84 kB
    Funguje s: firefox verzia 48.0 a novšia
    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.

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť súbor
  • Verzia 1.1

    Vydaná 16. feb 2022 - 8,84 kB
    Funguje s: firefox verzia 48.0 a novšia
    Fix domain name

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

    Zdrojový kód je k dispozícii v rámci licencie Mozilla Public License 2.0

    Stiahnuť súbor
Prejsť na domovskú stránku Mozilly

Doplnky

  • O nás
  • Blog o doplnkoch pre Firefox
  • Workshop tvorby rozšírenia
  • Centrum pre vývojárov
  • Pravidlá pre vývojárov
  • Komunitný blog
  • Fórum
  • Nahlásiť chybu
  • Pokyny pre recenzentov

Prehliadače

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Súkromie
  • Cookies
  • Právne informácie

Ak nie je uvedené inak, obsah tejto stránky je dostupný pod licenciou Creative Commons Attribution Share-Alike License v3.0 alebo jej akejkoľvek vyššej verzie.