Recent answers to Minimize/Maximize//Close buttons, i need to disable themhttps://support.mozilla.org/en-US/questions/9503112013-03-29T01:23:21-07:00Dear co-rel,
I am deeply sorry having bothered you with my problem. I just continued to edit the use2013-03-29T01:23:21-07:00j.valhttps://support.mozilla.org/en-US/questions/950311?page=2#answer-421604<p>Dear co-rel,
I am deeply sorry having bothered you with my problem. I just continued to edit the userChrome.css in the wrong profile. So it works.
</p><p>I must say that it is hard to get clear information on all the settings possible in this css file. I also need to prevent opening another tab with the mouse (+) sign, and to get rid of all the menu's under the right mouse click. This last thing I can reach using the menu editor, but I guess there must be a way to do this in the userChrome.css as well.
</p><p>For the moment I keep on searching.
Many thanks for your quick reply.
John
</p>In what mode (normal or full screen) are you running Firefox and do you have the Firefox menu button2013-03-28T17:40:21-07:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-421495<p>In what mode (normal or full screen) are you running Firefox and do you have the Firefox menu button or the classic Firefox menu and the Windows title bar?
</p><p>Can you attach a screenshot?
</p>
<ul><li><a href="http://en.wikipedia.org/wiki/Screenshot" rel="nofollow">http://en.wikipedia.org/wiki/Screenshot</a>
</li><li><a href="https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem" rel="nofollow">https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem</a>
</li></ul>
<p>Use a compressed image type like PNG or JPG to save the screenshot.
</p>Dear luck18,
I tried your solution in firefox 19.02 and still get the controls. This the full conten2013-03-28T15:18:16-07:00j.valhttps://support.mozilla.org/en-US/questions/950311#answer-421457<p>Dear luck18,
I tried your solution in firefox 19.02 and still get the controls. This the full content of my userChrome.css file. Am I missing something?
</p>
<pre>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" rel="nofollow">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */
#autohide-context { display:none!important; } /* hide context menuitem "Exit Full Screen Mode" */
#window-controls { display:none!important; } /* hide window controls in full screen mode */
#titlebar {display: none !important;}
#main-window {-moz-appearance:none !important;}</pre>
<p>Thanks in advance
</p>This is the one:
#titlebar {display: none !important;}
#main-window {-moz-appearance:none !importan2013-02-15T16:55:31-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408335<p>This is the one:
</p><pre>#titlebar {display: none !important;}
</pre>
<pre>#main-window {-moz-appearance:none !important;}
</pre>
<p>i found it somewhere on forum. It was so painful, but finally i made it. Don't know how to thank you, you are very helpful and you know how to help.
</p><p>Thanks again!
</p>Looks like i can't modify this one to. It is the same with hidden menu bar.
So i can't remove those2013-02-15T16:42:16-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408333<p>Looks like i can't modify this one to. It is the same with hidden menu bar.
So i can't remove those buttons with userChrome.css? Do you have any other idea?
</p>Does the code work if you hide the menu bar to get the orange Firefox menu button?
You now have the 2013-02-15T16:36:33-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408332<p>Does the code work if you hide the menu bar to get the orange Firefox menu button?
</p><p>You now have the Windows title bar and you can't modify that bar.
</p>Second image: clicked on minimize button but nothing happened
2013-02-15T16:28:54-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408330<p>Second image: clicked on minimize button but nothing happened
</p>If you can't select those buttons then you probably can't remove them, so you may be out of luck.
Ca2013-02-15T16:18:29-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408329<p>If you can't select those buttons then you probably can't remove them, so you may be out of luck.
</p><p>Can you attach a screenshot that shows the buttons?
</p>
<ul><li><a href="http://en.wikipedia.org/wiki/Screenshot" rel="nofollow">http://en.wikipedia.org/wiki/Screenshot</a>
</li><li><a href="https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem" rel="nofollow">https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem</a>
</li></ul>
<p>Use a compressed image type like PNG or JPG to save the screenshot.
</p>I managed to install DOMi, i also managed to find a node by inspecting with clicks. But when i click2013-02-15T16:14:26-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408328<p>I managed to install DOMi, i also managed to find a node by inspecting with clicks. But when i clicked on close or maximize button nothing happened.
When i click somewhere else(bookmarks or letters) its shows me a code, i can cut,edit this. But when i click on close, maximize, minimize buttons nothing happens.
</p>I'm on Linux, so can't really check the code for Windows.
The code that I posted works for me in a F2013-02-15T15:50:01-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408325<p>I'm on Linux, so can't really check the code for Windows.<br>
The code that I posted works for me in a Firefox version that runs under Wine.
</p><p>You can try to use the DOM Inspector to check which selector to use for the three buttons on the title bar.
</p>
<ul><li> DOM Inspector: <a href="https://addons.mozilla.org/firefox/addon/dom-inspector-6622/" rel="nofollow">https://addons.mozilla.org/firefox/addon/dom-inspector-6622/</a>
</li></ul>
<p>The DOM Inspector (DOMi) has a menu item (Edit &amp;gt; Select Element By Click) and a toolbar button "Find a node to inspect by clicking on it" (left icon on the toolbar in the DOMi).
</p>
<ul><li> open the browser window in the DOMi (File &amp;gt; Inspect <b>Chrome</b> Document) and choose the first from the list.
</li><li> click the "Find a node to inspect by clicking on it" button and use the keyboard (Alt Tab) or the Task bar to go back to the browser window (do not click in the browser window other than the title bar).
</li><li> click that element with the mouse and keep the button pressed until you see a red border to indicate the the DOMi has located that element in the DOM tree.
</li></ul>
<ul><li><a href="https://developer.mozilla.org/en/DOM_Inspector/Introduction_to_DOM_Inspector" rel="nofollow">https://developer.mozilla.org/en/DOM_Inspector/Introduction_to_DOM_Inspector</a>
</li></ul>Aha, thanks for Full screen mode, it is working now, but this code for normal mode isn't. unfortuna2013-02-15T15:42:38-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408324<p>Aha, thanks for Full screen mode, it is working now, but this code for normal mode isn't. unfortunately i need code for normal mode. I would like to set resolution of mozilla, dont want full window and then insert a code so no one could close minimize or maximize the windows. Is this even possible? Do you have any other code? Thank you.
</p>Note that this code only works in full screen mode (F11) and doesn't hide the close button in normal2013-02-15T15:36:34-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408323<p>Note that this code only works in full screen mode (F11) and doesn't hide the close button in normal mode.
</p><p>For normal mode, you can try this code.
</p>
<pre>#titlebar-buttonbox-container { display:none!important; }</pre>But i need your code to work.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.2013-02-15T15:26:53-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408321<p>But i need your code to work.
</p>
<pre>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" rel="nofollow">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* What is the meaning of this?*/
#autohide-context { display:none!important; } /* this one hide exit and full screen buttons? */
#window-controls { display:none!important; } /*this one hide window controls */</pre>
<p>must be # at the beginning and @. Sorry i don't know nothing about code it self, i don't understand it. I just want to find solution. you are very helpful, thanks.
</p><p><br>
Ps: i don't know why number 1 is there, in code is #
</p>If i understand you, the userChrome.css file is empty at the moment. If i insert this code:
menu, me2013-02-15T15:21:15-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408319<p>If i understand you, the userChrome.css file is empty at the moment. If i insert this code:
menu, menuitem {font-size: 32px !important;} I have bigger menu in browser.
</p>Can you post the content of the userChrome.css file?
2013-02-15T15:04:31-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408316<p>Can you post the content of the userChrome.css file?
</p>This code works perfectly:
menu, menuitem {
font-size: 32px !important;
}
So it is something wrong2013-02-15T15:02:00-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408314<p>This code works perfectly:
</p><p>menu, menuitem {
</p><pre> font-size: 32px !important;
</pre>
<p>}
</p><p>So it is something wrong with code you posted. Can you somehow customize it? Thanks for help again.
</p>Yes everything is perfect, i have a Chrome edit plus tool which create this file automatically.
Tri2013-02-15T14:53:25-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408310<p>Yes everything is perfect, i have a Chrome edit plus tool which create this file automatically.
Tried also some other code but it doesn't work... I need whole code or i can just insert some sections of code?
</p><p>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" rel="nofollow">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */
</p><p>You said this is needed only once. If i am correct this should already be there?
</p>Does other code in the userChrome.css file work?
See http://kb.mozillazine.org/Editing_configuration2013-02-15T09:40:26-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-408169<p>Does other code in the userChrome.css file work?
</p><p>See <a href="http://kb.mozillazine.org/Editing_configuration/Troubleshooting" rel="nofollow">http://kb.mozillazine.org/Editing_configuration/Troubleshooting</a>
</p><p>Make sure that the File name is userChrome.css (case sensitive) and doesn't have a hidden .txt appended (file type is Cascading Stylesheet and not Text Document).
</p><p>You can use this button to go to the Firefox profile folder:
</p>
<ul><li>Help &amp;gt; Troubleshooting Information &amp;gt; Profile Directory: Show Folder
</li></ul>Thanks cor-el for reply,
bu this still didn't solve my problem. I copied this code into userChrome.c2013-02-15T02:30:09-08:00lukc18https://support.mozilla.org/en-US/questions/950311#answer-408050<p>Thanks cor-el for reply,
</p><p>bu this still didn't solve my problem. I copied this code into userChrome.css in folder chrome and nothing happened. I know this code worked for older versions of mozilla but i need to find solution for this one. I think i need entire code, can you help me with this? I found some on other forums but still didn't manage to run it properly.
</p><p>Thanks
</p>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once2013-02-14T16:24:59-08:00cor-elhttps://support.mozilla.org/en-US/questions/950311#answer-407964<pre>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" rel="nofollow">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */
#autohide-context { display:none!important; } /* hide "Exit Full Screen Mode" */
#window-controls { display:none!important; } /* hide window controls */
</pre>
<hr>
<p>The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.
</p>
<ul><li><a href="http://kb.mozillazine.org/Editing_configuration" rel="nofollow">http://kb.mozillazine.org/Editing_configuration</a>
</li></ul>Check with Firefox Addons
2013-02-14T05:34:24-08:00iamjayakumarshttps://support.mozilla.org/en-US/questions/950311#answer-407737<p>Check with Firefox Addons
</p>