Koodilistaus:UserChrome.css

Mummilan wikistä
Versio hetkellä 6. tammikuuta 2021 kello 14.35 – tehnyt Jani Uusitalo (keskustelu | muokkaukset) (Tekstin korvaus – ”<metadesc>(.*)<\/metadesc>” muotoon ”{{#description2:$1}}”)
(ero) ← Vanhempi versio | Nykyinen versio (ero) | Uudempi versio → (ero)

Lataa tiedostona: [{{#file: userChrome.css}} userChrome.css]

Tämä on Firefoxille tehty userChrome.css, joka piilottaa kirjanmerkkaustähden ja play-napin (go). Tarvin tätä näköjään sen verran usein, että tallennan sen tähän. Lähteenä mozillaZine.

{{#fileanchor: userChrome.css}}

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/*
 * Hide bookmarking star and go button
 */
#urlbar-icons > #star-button
{
display:   none !important;
}

#urlbar-icons > #go-button
{
   display:   none !important;
}