DSL Tips and Tricks :: Firefox middle mouse button can close tabs



Quote

Another useful firefox config (in my opinion)....

I don't like icons, and get rid of them wherever I can.  The icons in the firefox bookmarks menu and tabs can be removed (not just replaced with a default icon) by adding this to userChrome.css:
Code Sample
/* kill all bookmark icons */
.bookmark-item > .menu-iconic-left {
 display: none;
}
/* kill all tab icons */
.tabbrowser-tabs .tab-icon {
 display: none;
}

I still don't know how to remove the icon from the address bar.


I haven't looked into the location bar icon at all, but it seems to me, the Location Bar icon is some sort of an "element" (not just an favicon.ico file or a GIF, JPG, PNG), since it can be dragged and dropped to bookmark a site, etc.
If I come across anything more about it, I gladly post the info....but I can *almost* say for certain [about:config] won't help with that, ....and perhaps even the [userC*.css] and [*.js] files (likely located in the $Profile and $Profile/chrome Dir(s)) won't either. I just don't know. IIRC - XUL is what is necessary to learn/know.

I too use customized 'userChrome.css' and 'userContent.css' files to make the interface do what I need to - I'm not an 'expert' at it, but I manage -- and I've also modified 'User.js' and 'Prefs.js' as well. Most of these mods I've done when booted into and using Mozilla on win98 -  In GNU/Linux these (files, for modifying) seem to be in many varying locations throughout diff distros and versions....(and/or just non-existent). I have Debian 3.1r1 installed  and have and use the LiveCDs of Knoppix3.6 and DSL 1.1.

I'm still pretty new to linux, but I'm learning quite a bit over the last few months, and I've already seriously borked a few installations and had to redo them (along with the dual boot OS - it's a really l-o-n-g story - but I can tell you that 'dd', 'cfdisk' 'e2fsck', 'Grub', and other assundry sysadmin commands and aspects were involved, including Ext'd partitions)...but I certainly learned quite a bit and recommend a HDD install, and then learn how the LiveCDs use cloop, /ramdisk, /target, autofs, automount, etc, etc -- in order to do what they do so well (which is load into RAM and just 'work', and without touching anything else on your HDDs, unless you actually *make* it do so, using various commands).

Found it on the firefox forums =o)
Code Sample
/* hide favicon placeholder in Address url toolbar */
#page-proxy-deck {
display: none !important;
}


Also found out how to get rid of that horrible, slow, inefficient gtk2 file picker in Firefox 1.5...
In <path_to_firefox>/components/nsFilePicker.js, the original contains this:
Code Sample
//@line 278 "/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpfe/components/filepicker/src/nsFilePicker.js.in"
                                   "",


and it needs to be this:
Code Sample
//@line 278 "/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpfe/components/filepicker/src/nsFilePicker.js.in"
                                   FILEPICKER_CONTRACTID,


I'm happy again.


original here.