Making Firefox run as a bare content panel only 60px high using userChrome.css and localstore.rdf

I'm developing a web application for personal use, which due to extreme space constraints must be contained within a Firefox window measuring exactly 60px high by 331px wide. The window must have all the controls and bordering removed and appear as a totally bare pane whilst retaining the ability to move between tabs using CTRL-TAB.
So far I've managed to remove all the controls and bordering and retain the CTRL-TAB functionality using the custom userChrome.css style sheet pasted below. I've added a 1px border to the bottom and right for clarity. Making #navigator-toolbox visibility:hidden instead of display:none enables CTRL-TAB to work without the navigator-toolbox being visible. Giving #tab-view-deck -85px top margin aligns the top of the web page with the top of the Firefox window. Setting #browser-border-end, #browser-border-start display:none removes the effective border to the left and right of the browser window. So far so good.
I then set the following parameters in localstore.rdf in the profile folder.
<pre><nowiki>
<RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
height="149"
width="331"
screenX="0"
screenY="0"
sizemode="normal" /> </nowiki></pre>
The window appears perfectly at the top left of the screen and works exactly as specified. Unfortunately, when I reduce the height parameter to 60px, the window remains about 100px tall. I guess I'm missing some key important override rules in my userChrome.css or perhaps some other Firefox configuration settings need to be changed. Although it seems like a small difference, reducing the window from 100px to 60px will result in a massive design shift and a huge productivity gain. If you can help, I'd been extremely grateful. Thanks,
Neil
I'm using FF 33.0 and Windows 8.1.
Content of userChrome.css:
<pre><nowiki>
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
#main-window {
-moz-appearance:none !important;
#titlebar {
display: none !important;
#tab-view-deck {
border-bottom: 1px solid black !important;
border-right: 1px solid black !important;
margin: -85px 0px 0px 0px !important;
padding: none !important;
#tab-view-deck * {
border: none !important;
margin: none !important;
padding: none !important;
#navigator-toolbox {
visibility: hidden !important;
#browser-border-end, #browser-border-start {
display: none !important;
</nowiki></pre>
''added the forum code for displaying css code properly''

For some reason the userChrome.css has not posted correctly. Each instance of 1. should be replaced with # denoting an ID selector.

Similar Messages

  • When downloading is complete, I can not see, run, nor access the file; it only appears in the "Downloads" window (and not the specified folder) and the only options permitted are to delete it, or to go to the download web site; what's blocking it?

    My PC's OS is 'MS Windows Vista Home Premium'. As my initil question states: When downloading, after the download completes, I can not see, run, nor access the file in it's designated folder. The download only appears in the "Downloads" window and the only "Right Click" options permitted are to "Remove From List", "Select All", & "Copy Download Link" I also can not double click to run it. What's blocking it?
    I have a similar problem when accessing .zip files that are attachments to my emails. Here, however, I can place the file in a designated folder, however, the .zip file and it's compressed content files are file-typed as "FireFox Document" and I get permissions errors when running an unzip tool.
    Why are my download files being quarantined ??? Is there a security setting option I need to change???
    To get around this, I'm using IE to download and install these files, but switching back & forth between FireFox & IE is a real pain.

    It's your anti-virus not working correctly while scanning. You can turn off the option to scan in Firefox's '''about:config''' by filtering for '''browser.download.manager.scanWhenDone''' and double-clicking that line to change the value to '''false'''

  • I have an OpenGL application that run in a window. I would like to use this application and use its window in a VI interface. Note t

    hat I DON'T WANT TO OPEN the window application FROM the Labview VI BUT IN the Labview VI. I think it's possible to do that and to do communicate the OpenGL application with the Labview Interface using an ActiveX but I don't know how. Can someone help me ?You can answer the question or send it at [email protected]
    Regards.
    Cyril

    hat I DON'T WANT TO OPEN the window application FROM the Labview VI BUT IN the Labview VI. I think it's possible to do that and to do communicate the OpenGL application with the Labview Interface using an ActiveX but I don't know how. Can someone help me ?The desired behavior you desribed may not be possible with that application. In general LabVIEW does not offer a window object that other standalone applications can run it. The closest thing is the ActiveX container. If the programmers for your application created an activeX control of your program and they provided documentation, it should be pretty easy to incorperate the app and labview into one window. I recommend contacting the manufacuturer of the app to see if they have an activeX control version of the app.

  • Firefox uninstaller - do you have a script/package I can use to detect and uninstall multiple/different versions of Firefox

    I need an uninstaller that I can remotely distribute to my Enterprise that will detect and remove any installation of Firefox from systems in the corporation.
    == This happened ==
    Not sure how often
    == Uncontrolled user community ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1; MS-RTC LM 8; .NET CLR 2.0.50727)

    FoxFilter 7.6.3
    * https://addons.mozilla.org/en-US/firefox/addon/foxfilter/
    Check and tell if its working.

  • Firefox does not show my webcam as an option to use at all, and has other webcams programmed in that aren't mine.

    It asks for permission (as usual) but then it will say that it's in use in another program or something. So i go over to the camera side but they have two options for cameras that don't exist i guess, at least not on my computer. And my webcam definitely works, so it itself is not the problem.

    The first question to answer: Is the problem with my router or with my MacBook?
    Test your MacBook on other wireless networks in other locations and/or try connecting to a wireless network created by another router or two in the same location.

  • Accordion content panels open on IE

    I am using Spry 1.6.1. The Accordion works as advertised on Safari and Firefox. On IE all content panels are open. Clicking on them has no effect. A height value is specified in .AccordionPanelContent:
    .AccordionPanelContent {
    overflow: auto;
    margin: 0px;
    padding: 0px;
    height: 200px;
    background-color: #FFFFCC;
    In trying to make this work I have added arguments to the Accordion object constructor call as well:
    var rssAccordion = new Spry.Widget.Accordion("rssAccordion",
           {useFixedPanelHeights: true, enableAnimation: true, defaultPanel: 0});    
    I would appreciate any help.
    Alan

    I have the same problem but I, as far as I can tell, do not have any fatal errors (like open tags) anywhere.
    http://www.radioimaging101.com
    If ANYONE sees why IE is doing this please let me know... I have tested in Chrome (which I hear behaves a lot like Safari) and in Firefox... they both display it perfectly.  I'm using IE 8, btw.
    Please help!!  Gracias!

  • Using Firefox on Windows 7, if I leave Firefox running but the computer not connected to the internet (while I leave the computer for a while), Firefox reconnects to the internet. How do I stop this?

    If I leave my computer unattended, with Firefox running but the computer not connected to the internet (using a modem), Firefox (or the pages displayed on it) will reconnect with the internet. I have not allowed auto-reconnection. So how do I stop this?

    install new copy on os
    try again

  • After updating to Firefox 11.0 Mac, Firefox runs, but no window can be seen

    I'm running OSX 10.5.2 I just upgraded to Firefox 11.0. Firefox runs, but no windows can be seen.

    See also:
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 and later Safe mode disables extensions and disables hardware acceleration.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Well,Most of the time I use Firefox,but that is without making it my default browser,I want to know the benefits of making Firefox my default browser,Please do let me know.

    I want to know the benefits of making Firefox as my default browser.If I do not make IT my default browser then what will be my loss ? Most of the time I use Firefox.Please help me intime.Thank You. I am using Windows Vista,Firefox 10.0.2.

    Making Firefox the default simply tells Windows that you want to use Firefox to open anything on the internet. You are still able to access other browsers, it just uses Firefox to open stuff like links in emails, docs, etc. instead of Internet Explorer.
    It is really a personal choice, if you want to use Firefox the majority of the time, I'd set it as default, it just makes thinks easier.

  • How to sync two firefox profiles, everything except localstore.rdf

    Yesterday, I asked about linking cache between two firefox profiles:
    https://support.mozilla.org/en-US/questions/925836
    And I got to thinking. The only reason I'm even making a second profile is to have two "saved window locations" for multi-monitor purposes. I want these profiles to be EXACTLY the same except for the location in which they are opened (which is saved in localstore.rdf). It occurred to me that with my current setup in the above thread, even though the caches are now linked.. I will still have to change bookmarks twice. Have two different histories, saved passwords, etc. All minor inconveniences at best, but it would still be nice to avoid them!
    Like I said, I want these profiles identical except for the locations in which they are opened. I know there are extensions for syncing profiles, but they all seem to be 1 star performance hindering messes. I'd rather do it manually, as I did with the cache. Possible?

    I do not know enough to give a proper answer but some comments that may help:
    I am not sure I follow what you ask. Is the saved Windows location you are interested in the coordinates and size of the Window that Firefox view opens in ?
    I have never worked with [http://kb.mozillazine.org/Localstore.rdf localstore.rdf], but I have often manually edited [http://kb.mozillazine.org/Profiles.ini_file profiles.ini] which points to the profile, that in turn contains the [http://kb.mozillazine.org/Places.sqlite places.sqlite] (bookmarks and history database) and your cache.
    If you are interested in the cachecontents:
    * use about:cache
    * note there are addons that help with viewing cache content
    I am not too clear on what you are doing. If you use ''-no-remote'' and start up a Firefox instance with a particular profile then that sees the same bookmarks as any other instance or version of Firefox started with the same profile, but a profile can not be opened twice simultaneously by Firefox. (My understanding of what you say in the other thread is that you have no problem with that.)
    Rather clunky and slow, but you could consider writing simple DOS batch files that will modify commandlines or copy files as part of launching Firefox.

  • Problem with userchrome.css being effective in Hebrew versions of Firefox

    Hi,
    I am trying to remove the Tools menu in Firefox on certain student computers (I am the systems administrator in a small college).
    After searching around the internet I was able to put together a userchrome.css file, I placed it in the correct folder and it indeed removed the Tools menu.
    However, I later noticed that it seems to work only on computers with English-language Firefox, and did not work on other computers that had Hebrew-language Firefox.
    Specifically, it worked on versions 3.6.12 and 3.6.24 in English, and did not work on versions 3.6.12 or 6.01 in Hebrew. Note that I tested the same version (3.6.12) in both Hebrew and English, and therefore I concluded that the Hebrew-language interface is what is causing the problem.
    Here is the gist of the userchrome.css file I tried:
    * 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 */
    menu[label="Tools"] {
    display: none !important;
    I did try replacing the word "Tools" with its Hebrew-language equivalent as it appears in Hebrew Firefox, but that didn't work either.
    Does anybody have any information on using userchrome.css on Hebrew Firefox (or on non-English versions of Firefox)?
    Thanks,
    -Michael

    It would be better to lock the related prefs if you want to prevent user s from making changes to settings.
    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.<br />
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes

  • Firefox does not load any webpages. Only shows "done" in corner. IE (64bit) works fine

    The firefox program loads fine. However it only shows "untitled" in the tab and "done" in the bottom corner. It does not show any error notifications. When I click a bookmark, or enter a URL into the location bar it makes not attempt to contact the server. In fact it appears to do nothing at all.
    I appreciate any help you can provide.

    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r22
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Title Bar is showing only ----

    Hello everyone,
    Like the title says, when I open any window (it can be explorer, or simply google chrome), I can see ---- in the title bar instead of what window I am at now.
    I'm not sure if I say it right, but by title bar I mean the text in the bar where _ O X  , "minimize", "full screen" and "close" buttons are.
    My brother may have tried some custom theme, but on the forums there and in description nobody knows what it could cause, and I dont remember doing any system backups so I don't have any. It's really bothering me I want to have my Win 8.1 perfect :o)
    Thanks for answers in advance
    Jan

    Hello Jan,
    Please share us a screenshot to avoid misunderstanding.
    Do you mean you can’t open any windows program like Windows explorer, Chrome browser?
    Can you normally open Control Panel?
    As it may be relate to the third-party theme, If you can open Control Panel, please try to use system restore to help restore Windows back to an earlier point in time.
    For more information, please take a look at the following article.
    http://windows.microsoft.com/en-HK/windows-8/restore-refresh-reset-pc
    If you can't normally use any program like control panel, please try to use safe mode and check if the issue still exists.
    http://windows.microsoft.com/en-hk/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • I want to use Boot Camp to run a tax program that will only use explorer. Whick windows program do I need to install in Boot Camp

    I want to use Boot Camp and windows 7 or 8, preferrably 7 to run a tax program that will only let me use explorer.  I am using a Mac Book Pro with OSX Maverick 10.9.  There are so many windows programs out there it is confusing which one I need.  I don't think that I will need Office.

    http://www.apple.com/support/bootcamp/
    I would use Windows 7 any full version except the trial, or a branded Dell, HP, etc. versions

  • How do I switch back to 3.6? I use Norton 360 and it doesn't work with Firefox 4. I have uninstalled 4 and try to reinstall 3.6 from my downloads but it deleted 3.6 exe when it installed 4. I WANT 3.6 BACK.

    Norton isn't supported on Firefox 4. I don't trust ANY web browser that I can't use Norton on. I had no complaints with it when I had Firefox 3.6. I want to reinstall 3.6 but can't. I have looked all over for a download but every one comes back to Firefox 4.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

Maybe you are looking for

  • How Do You Get Apple To Fix A Podcast?

    My podcast has been broken for a long time, and it never updated after the last one i added. My file is 100% readable, http://beavis2084.com/podcast/rss.xml u can even use Safari to look at it fine. That is the URL that comes up if you add my podcast

  • How do I delete the podcasts App and go back to using videos app?

    After deleteing the new Apple Podcasts App, I have restarted my iPhone 4, re-synced numerous times and I see podcasts syncing, but I can't get them to appear in the videos app. I also can't get podcasts to appear in the music app either. Lets face it

  • Problem when streaming out a binary file

    Hi, I am trying to stream out a binary file to an output stream (not a file, but a socket). My file is a gzip file, and I was initially simply trying to open the file, read it to a a byte array, and writing it out to my output stream. However, I got

  • E61 - ToDo item due date

    Nokia E61 > 1.6610.04.04 19-04-06 RM-89 Bought SIM Free but using on UK Orange Network Is it possible to set a ToDo item without a specific due date ? I must be really busy or somthing as I have a lot of items on my ToDo list which makes my daily vie

  • Re: College Student Deals Not Working - MacBook Pro

    Hi, I have a problem with recieving coupon codes. When I signed up using my .edu mail, I get this flyer. But there are no coupon codes in it. How many times I sign up I get the same mail. Can you please help me  {Removed per Forum Guidelines}