Recommended Posts

  supernova_00 said:
anybody have anything else? I'm going to be adding a lot of these to part of my guide. maybe even re writing it since most people now know what firefox is.

585556060[/snapback]

You have a link to your guide. I love these kinds of hacks. Thanks all these are great!

For UseChrome.css

/* Multi-row bookmarks toolbar */
#bookmarks-ptf {display:block}
#bookmarks-ptf toolbarseparator {display:inline}
/* Make menus XP style */
menupopup, popup {
   border: 1px solid ThreeDShadow !important;
   -moz-border-left-colors: ThreeDShadow !important;
   -moz-border-top-colors: ThreeDShadow !important;
   -moz-border-right-colors: ThreeDShadow !important;
   -moz-border-bottom-colors: ThreeDShadow !important;
   padding: 1px !important;
   background-color: Menu !important;
}
menubar > menu {
   border: 1px solid transparent !important;
   padding: 2px 5px 2px 7px !important;
   margin: 0 !important;
}
menubar > menu[_moz-menuactive="true"] {
   background-color : Highlight !important;
   color: HighlightText !important;
}
/* Make the active tab not bold */ 
tab[selected="true"] { 
   font-weight: normal !important; 
}
/* Remove extra padding from the Navigation Bar */
.toolbarbutton-1, .toolbarbutton-menubutton-button {
   padding: 2px 3px !important;
}
.toolbarbutton-1[checked="true"], .toolbarbutton-1[open="true"], 
.toolbarbutton-menubutton-button[checked="true"], 
.toolbarbutton-menubutton-button[open="true"] {
   padding: 4px 1px 1px 4px !important;
}
/* Place the sidebar on the right edge of the window  */ 
window > hbox { 
   direction:rtl; 
} 
window > hbox > * { 
   direction:ltr; 
}
/* hide seperators between toolbars */
#toolbar-menubar {
min-height: 12px !important;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
#nav-bar {
border: none !important;
padding: 0px !important;
}
#PersonalToolbar {
border: none !important;
}
#keywordRow {
 display: -moz-grid-line !important;
}

User.js

user_pref("config.trim_on_minimize", true);
// disable target="_blank" (open in same window):
user_pref("browser.block.target_new_window", true);
// Change to normal Google search: 
user_pref("keyword.URL", "http://www.google.com/search?btnG=Google+Search&q=");
// This one makes a huge difference. Last value in milliseconds (default is 250) 
user_pref("nglayout.initialpaint.delay", 0);
// Enable pipelining: 
user_pref("network.http.pipelining", true); 
user_pref("network.http.proxy.pipelining", true); 
user_pref("network.http.pipelining.maxrequests", 100);
user_pref("nglayout.initialpaint.delay", 100);
user_pref("content.notify.ontimer", true);
user_pref("content.notify.interval", 100000);
user_pref("content.notify.backoffcount", 5);
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 4);
user_pref("network.http.max-persistent-connections-per-server", 2);
// Put an end to blinking text! 
user_pref("browser.blink_allowed", false);
// Force frames to be resizable 
   user_pref("layout.frames.force_resizability", true);
// Disable memory cache:
user_pref("browser.cache.memory.enable", false);
// Disable Opening in New Window
user_pref("browser.block.target_new_window", true); 
user_pref("browser.tabs.opentabfor.middleclick", true); 
user_pref("browser.tabs.opentabfor.urlbar", true); 
//Show Image in PlaceHolder
user_pref("browser.display.show_image_placeholders", false);
user_pref(bowser.cache.disk_cache_ssl, true);
user_pref(content.interrupt.parsing, true);
user_pref(content.max.tokenizing.time, 3000000);
user_pref(content.maxtextrun, 8191);
user_pref(content.notify.backoffcount, 5);
user_pref(content.notify.interval, 750000);
user_pref(content.notify.ontimer, true);
user_pref(content.switch.threshold, 750000);
user_pref(browser.xul.error_pages.enabled, true);

  • 2 weeks later...
  • 2 months later...

If you type in a word into the address bar that is not a URL, Firefox will do an "I'm Feeling Lucky" search for that word. e.g., If you type in "microsoft tutorial" it will go to http://www.baycongroup.com/wlesson0.htm

You can change that to do a Google Browse by Name search, which is a smarter search that takes you to the site if you type in its official name, but will do a normal search otherwise. e.g., Typing in "microsoft tutorial" will go to http://www.google.com/search?q=microsoft+tutorial

but typing in "microsoft" will go to http://www.microsoft.com/

To do it, edit the "about:config" file on your computer and change the value for "keyword.URL" from "http://www.google.com/search?btnI=I'm+Feeling+Lucky&q=" to "http://www.google.com/search?sourceid=navclient&gfns=1&q=".

(Info copied from bugzilla.)

Put this in your "userChrome.css" file to have high-contrast find-bar status messages. It's good for when you frequently preform searches and often miss the "looped" message at the bottom-right of the screen.

#find-status:not([value=""]) {
  color: white;
  background-color: blue;
}

post-30836-1123199631.gif

  • 4 weeks later...

My own hack...submitted it as a patch but the console is being redone anyways by another person. This add Icons for javascript console/Background colors for errors, to polish up the javascript console and make easier to find certain errors in the javascript console while debugging. Make sure to backup old file because I donno have this will affect themes other then default.

Screenshot: Icons for javascript console/Background colors for errors

Download the file and replace old file in Firefox\Chrome\ whereever you have firefox installed to.

  em_te said:
Add the following to your userContent.css file to display a small icon next to web links that point to certain file types:

a[href^="mailto:"]:before {content: url("moz-icon://.EML?size=16")}
a[href$=".pdf"]:before {content: url("moz-icon://.PDF?size=16")}
a[href$=".exe"]:before {content: url("moz-icon://.EXE?size=16")}
a[href$=".doc"]:before {content: url("moz-icon://.DOC?size=16")}
a[href$=".xls"]:before {content: url("moz-icon://.XLS?size=16")}
a[href$=".zip"]:before {content: url("moz-icon://.ZIP?size=16")}

Looks like this:

post-30836-1102237574.gif

585556102[/snapback]

TargetAlert does this well. You can choose which icons you want to display, and which you don't.

  em_te said:
If you want the Safari behavior and have only the "reload" button or the "stop" button visible at any one time, first customize your toolbar and move the "stop" button to the left of the "reload" button, and then use this in your userChrome.css file:

#stop-button[disabled="true"] { display:none; }
#stop-button:not([disabled]) + #reload-button { display:none; }

585870443[/snapback]

I use Stop-or-Reload Button to do this.

Edited by Yochanan
  • 2 months later...

You can use the new domain-specific CSS rules to create some sort of visual authentication to indicate that you are on the website which you think you are on. All form input fields from the www.capitalone.com website will have a beige stripped background.

@-moz-document domain(capitalone.com) {
  input[type="text"], input[type="password"], input:not([type]) {
    background-image: url(http://us.i1.yimg.com/us.yimg.com/i/us/my/gr/g_bigdiag3.gif);
  }
}

The template:

@-moz-document domain(<DOMAIN>) {
  input[type="text"], input[type="password"], input:not([type]) {
    background-image: url(<IMAGE URL>);
  }
}

Of course choose an image background that is unique and that phishers are unlikely to guess.

  em_te said:
You can use the new domain-specific CSS rules to create some sort of visual authentication to indicate that you are on the website which you think you are on. All form input fields from the www.capitalone.com website will have a beige stripped background.

*snip*

586816604[/snapback]

Now that is an awesome feature. Thanks a lot! :D

edit: Unfortunately I can't get it to work with bankone.com :cry:

  supernova_00 said:
you have to be using a 1.5 build like rc1 2 or one of the 1.5 betas for that to work.

586818527[/snapback]

I am using 1.5 RC2

Build ID: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 ID:2005110712

  supernova_00 said:
I have expirenced this before and I believe this was fixed with last 4 days and one of the reasons for the respin for RC3. Has to do with updating url bar before entering secure sites or something like that.

586818549[/snapback]

Ah, alright. So I have to update if I want to use this feature?

OS: XP

Let the scrollbars look like native Windows for all NON "Windows-Classic-Themes" (Luna etc.)

userContent.css & userChrome.css

scrollbar[orient=vertical] scrollbarbutton,

scrollbar[orient=vertical] slider{

margin-left: -1px !important;

}

scrollbar[orient=horizontal] scrollbarbutton,

scrollbar[orient=horizontal] slider{

margin-top: -1px !important;

}

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.