Mozilla Hacks

Discussion in 'Windows Desktop Systems' started by funky dredd, Aug 1, 2003.

  1. funky dredd

    funky dredd Moderator

    Messages:
    2,346
    Location:
    Florida
    Came across this and thought I would post it. :)


    FYI: Great Collection of Mozilla/Firebird Hacks

    --------------------------------------------------------------------------------

    Posted by M. Reyes on July 29, 2003 at 12:31:39:
    I had originally written about download throughput hacks and a FavIcon hack, and after looking around I found a few more that are of interest and I figured I'd share them with everyone. BTW, these hacks will also work with Netscape 7.1.

    To add these hacks you have to:


    exit out of the browser completely,
    find your prefs.js file,

    backup your prefs.js file,
    copy and past the hacks below at the bottom of the prefs.js file,
    save the prefs file and
    then open the browser.
    Another tip for hacking Preferences is that you can use the about:config screen which lets you add, modify or reset values for Preferences.

    Again, I'm not taking credit for all of these hacks, just some, but I figured putting them all together would be a great resource, enjoy.



    // Enable Smooth Scrolling
    user_pref("general.smoothScroll", true);
    // Change to normal Google search:
    user_pref("keyword.URL", "http://google.com/search?btnG=Google+Search&q=");

    // Disable Bookmark Icons
    user_pref("browser.chrome.site_icons", true);
    user_pref("browser.chrome.favicons", true);

    // Do not Reuse Active Mozilla Browser
    user_pref("advanced.system.supportDDEExec", false);

    // Number of backup copies to keep for prefs.js (ie: bak, .bak1, etc.)
    user_pref("backups.number_of_prefs_copies", 5);

    // Turn on timer-based reflow management
    user_pref("content.notify.ontimer", true);

    // Sets the allowed time between reflows in microseconds
    user_pref("content.notify.interval", 100);

    // Set the number of reflows to do before waiting for the
    // rest of the page to arrive
    user_pref("content.notify.backoffcount", 200);

    // Enable Improve pipelining:
    user_pref("network.http.pipelining", true);
    user_pref("network.http.proxy.pipelining", true);
    user_pref("network.http.pipelining.firstrequest", true); //Default is false
    user_pref("network.http.pipelining.maxrequests", 100); //Default is 4

    // Increase Multi-Threaded Downloading performance
    user_pref("network.http.max-connections", 60); //Default is 24
    user_pref("network.http.max-connections-per-server", 32); //Default is 8
    user_pref("network.http.max-persistent-connections-per-proxy", 16); //Default is 4
    user_pref("network.http.max-persistent-connections-per-server", 8); //Default is 2

    // Remove painting delay when loading pages
    user_pref("nglayout.initialpaint.delay", 0); // Default is 250

    // Show full path for plugin file on about: plugins page
    // the full path was removed for security purposes, please keep that in mind
    user_pref("plugin.expose_full_path", true); // Default is false

    // Find As You Type Configuration:
    // Set this pref to false to disable Find As You Type:
    user_pref("accessibility.typeaheadfind", true);
    // If you set this pret to true, typing can automatically start Find As You Type.
    // If false (default), you must hit / (find text) or ' (find links) before your search.
    user_pref("accessibility.typeaheadfind.autostart", true);
    // Set this pref to false if you want Find As You Type to search normal text too:
    user_pref("accessibility.typeaheadfind.linksonly", false);
    // Set this pref to true if you require that the link starts with the entered text:
    user_pref("accessibility.typeaheadfind.startlinksonly", false);
    // This is the time in milliseconds for the Find As You Type to stop watching for keystrokes:
    user_pref("accessibility.typeaheadfind.timeout", 3000);





    The original page is here----->
    MR Tech
     
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    You can also access all of those variables by putting about:config in the url bar.
     
  3. Vector_One

    Vector_One Guest

    These can also be found on the Firebird website, along with some others:

    Tips & Tricks
     
  4. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Yep, been using all of them with Firebird for a while now :)
     
  5. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Does the search filter for about:config work in firebird yet? Last build that I used had the input box but it had no effect..

    Mozilla nightlies are up to 1.5b btw :)
     
  6. gonaads

    gonaads Beware the G-Man Political User Folding Team

    0.6.1 gives ya a whole list and the filter thingy to type a filter name in.
     
  7. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Yeah, the input box has been there for ages... but does it actually work yet?
     
  8. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Yep...working great :)
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030731 Mozilla Firebird/0.6.1



    Thread title modified a bit ;)
     
  9. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    By the way, Firebird now supports Mozilla sidebars too. It's a feature I've been waiting for since ages, but it's finally here as an extension :D

    Get the extension here: WebBar
    Then install SpeedY's NTFS sidebar from here: Mozilla Sidebars

    Check the attachment to see what it looks like :) Works with all Mozilla sidebars.
     
  10. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
  11. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Nice "linkage" SpeedY :D
     
  12. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Just updated to the latest Firebird nightly
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030802 Mozilla Firebird/0.6.1

    Looks like built-in Web Panels have finally been implemented too! \o/

    Screenshot attached :D
     
  13. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Yeah, they were in one of the nightlies that I tried a while back.. then they dissapeared again.
    I'll go grab the latest build now and give it a try :)
     
  14. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Very cool, needs improving on obviously, but it's a start. Gonna grab that extension now :)
     
  15. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    The Web Panel doesn't remember the page you drag into it when you close and restart the browser. Still need the WebBar extension for that. I'm sure it will be fixed in future builds though :)
     
  16. funky dredd

    funky dredd Moderator

    Messages:
    2,346
    Location:
    Florida
    Nice links SpeedY! Thank you!
     
  17. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Funky n/p :D

    NetRyder, yeah, it'll be developed further etc. I hope that they take it in the direction of WebBar though. I actually like the way in which that works over the standard Mozilla sidebar, it's easier to select the bars.

    I guess we'll just have to wait and see :)
     
  18. bluzeboy

    bluzeboy Bluzeboy

    Messages:
    709
    Location:
    Des Moines,Ia
    when i try to access my prefs file,this what i get
    what am i doing wrong?
     
  19. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Right click and then edit.
     
  20. bluzeboy

    bluzeboy Bluzeboy

    Messages:
    709
    Location:
    Des Moines,Ia
    thanks speedy