Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Edit userchrome on Firefox 26

  • 1 ответ
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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>

Изменено cor-el

Все ответы (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;
}