Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Edit userchrome on Firefox 26

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

I ran firefox -profilemanager and from there copied my profile path, then I went to that path and created a folder called "chrome", inside that folder I created a file called "userChrome.css" which contains the css bellow, unfortunately it didn't seem to work. I'm trying to hide everything to create a kiosk, also I wanted to have it to Thanks

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[inFullscreen=true] {
    padding-top: 0px !important;
}

#navigator-toolbox[inFullscreen=true]: #PersonalToolbar,
#navigator-toolbox[inFullscreen=true]: #GBL-Toolbar,
#navigator-toolbox[inFullscreen=true]: #web-developer-toolbar,
#navigator-toolbox[inFullscreen=true]: .web-developer-toolbar {
    visibility: collapse;
}
I ran firefox -profilemanager and from there copied my profile path, then I went to that path and created a folder called "chrome", inside that folder I created a file called "userChrome.css" which contains the css bellow, unfortunately it didn't seem to work. I'm trying to hide everything to create a kiosk, also I wanted to have it to Thanks <pre><nowiki>@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #main-window[inFullscreen=true] { padding-top: 0px !important; } #navigator-toolbox[inFullscreen=true]: #PersonalToolbar, #navigator-toolbox[inFullscreen=true]: #GBL-Toolbar, #navigator-toolbox[inFullscreen=true]: #web-developer-toolbar, #navigator-toolbox[inFullscreen=true]: .web-developer-toolbar { visibility: collapse; }</nowiki></pre>

Modifié le par cor-el

Toutes les réponses (1)

more options

You would have to use at least quotes around the attribute values and omit the appended colons.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[inFullscreen="true"] {
    padding-top: 0px !important;
}

#navigator-toolbox[inFullscreen="true"] #PersonalToolbar,
#navigator-toolbox[inFullscreen="true"] #GBL-Toolbar,
#navigator-toolbox[inFullscreen="true"] #web-developer-toolbar,
#navigator-toolbox[inFullscreen="true"] .web-developer-toolbar {
    visibility: collapse!important;
}