Firefox Tips & Tweaks

Tech topics & all that sweet sweet jazz

Moderator: nobile

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Firefox Tips & Tweaks

Postby Mortis » Mon Dec 18, 2006 17:40

http://www.mozilla.org/support/firefox/tips wrote:Prevent sites from disabling the context menu
Some sites prevent you from right-clicking on the page to show the context menu. To disable such attempts, go to Tools > Options... (Edit > Preferences... under Linux and Mac OS X), click the Content section, and then click the Advanced... button next to Enable JavaScript. In the Advanced JavaScript Settings window, uncheck Disable or replace context menus and click OK.


For these modifications to work, enter them in you userChrome.css file located in your profile folder. The userChrome.css file does not exist by default and has to be created in the folder "chrome".

/* Change the progress bar color */

Code: Select all

.progress-bar {
-moz-appearance: none !important;
background-color: #660000 !important;
}


/* Display the sidebar in opposite side */

Code: Select all

#browser {
-moz-box-direction: reverse;
}

These changes are done in about:config
Hiding the Go button in the URL bar
browser.urlbar.hideGoButton [default false] can be set to "true" by double-clicking the entry.

User avatar
Armand
Kakaist
Kakaist
Posts: 267
Joined: Wed Nov 07, 2001 20:16

Postby Armand » Mon Dec 18, 2006 18:28

\o/ thanks pal!

Should make porn browsing and saving a lot nicer ^_^;

User avatar
nobile
Kakaist
Kakaist
Posts: 522
Joined: Wed Dec 12, 2001 00:32
MySpace: www.myspace.com/nobile01
Location: Honduras
Contact:

Postby nobile » Tue Dec 19, 2006 05:16

haha good tip, I remember I had a hard time trying to copy some recipes on this stupid (but damned good) cooking site, my dad had to rewrite them so he could have them =/
Beauty is in the eyes of the beholder <3

Karikaru
Kakaist
Kakaist
Posts: 9
Joined: Thu May 26, 2005 23:24

Postby Karikaru » Thu Dec 21, 2006 11:07

stop it guys! that porn is copyrighted! this is illegal!!!!

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips

Postby Mortis » Tue Apr 10, 2007 16:20


User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Greasemonkey

Postby Mortis » Mon Apr 30, 2007 16:31


User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips

Postby Mortis » Thu Jul 19, 2007 16:56

A very, very useful feature that I didn't know existed (and thought was sorely missing from the application) is that you actually can drag and drop folders to change their positions in the bookmarks drop-down menu/bookmarks toolbar by pressing either Shift or Alt when dragging.

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips

Postby Mortis » Sun Oct 07, 2007 22:07

about:config -> browser.tabs.closeButtons

  • 0: Close button on the active tab
  • 1: Close buttons on all tabs (default)
  • 2: No close buttons
  • 3: Display one close button at the end of the tab bar (Firefox 1).
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Ripatius
Kakaist
Kakaist
Posts: 24
Joined: Fri Feb 10, 2006 21:07

Re: Firefox Tips

Postby Ripatius » Fri Feb 15, 2008 17:41

I don't know about you but I was getting really annoyed about the crippled interface the default Google interface firefox gives you when pressing enter in the search box to quickly access the search engine. So I managed to dig up a way to change the url firefox uses.
Go to your firefox install direcotry. There you should find a folder named searchplugins. The files inside the folder contain the settings for all the search engines you have installed. Now open google.xml in your preferred text editor and find a line stating
<SearchForm>http://www.google.com/firefox</SearchForm>

and change it to
<SearchForm>http://www.google.com/</SearchForm>

Now nothing prevents you from fully enjoying your Google :D

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips

Postby Mortis » Thu Jun 19, 2008 16:24

Here at mozillaZine is a very interesting thread regarding the newly implemented bilinearly filtered image zoom in Firefox 3. It has been a hot potato in the pixel arts/game graphics community, where the filtering effectively breaks websites based on zooming (read: all websites). People have also criticized the picture quality achieved through the method at the moment.

There is a bug reported here, too, will be interesting to see if anything gets done soon!
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Tue Dec 02, 2008 23:58

browser.download.manager.scanWhenDone -> Set value to false in about:config if you're annoyed by Firefox 3 scanning your files.
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Defragment Firefox Places

Postby Mortis » Wed Aug 26, 2009 15:38

You can defragment your Places in Firefox 3.5:

Open the Error Console (Tools->Error Console)
In the Code textbox, paste this single line:

Code: Select all

Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");

Press Evaluate.
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Sat Sep 26, 2009 19:08

In about:config, you can modify the add-on install wait time with

Code: Select all

security.dialog_enable_delay


It's in milliseconds. 0 is nada.
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Fri Oct 02, 2009 22:11

Not digging how closing your last tab in a window also closes the window?

Code: Select all

about:config -> browser.tabs.closeWindowWithLastTab -> set to "false"
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Sat Nov 28, 2009 21:39

Increase the amount of remembered recently closed tabs:

Code: Select all

browser.sessionstore.max_tabs_undo
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Tue Dec 08, 2009 13:43

Firefox 3.6 comes with Flock-style tabs where related tabs open next to the parent tab.

Code: Select all

browser.tabs.insertRelatedAfterCurrent
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Thu Dec 17, 2009 14:08

Shift+Ctrl+T reopens your last closed tab!
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Firefox Zoom/Resize Blur Fix for Pixel Art

Postby Mortis » Wed Dec 30, 2009 16:14

Firefox 3.6 finally comes with the ability for web designers to select the preferred resizing algorithm for Firefox on a per-site basis in-between Nearest Neighbor, Bilinear Filtering and Bicubic Blur. With earlier versions of Firefox, pixel art would be hopelessly blurred up when you would resize an image.

Most pixel art websites will have covered this by the time of the release of 3.6, but if you want to make sure you get all your pixel art images resized the way you dig, here's how: Insert userContent.css into Application Data\Mozilla\Firefox\Profiles\[profile]\chrome

Code: Select all

img[src$=".gif"] {
image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor;
}

img[src$=".png"] {
image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor;
}


What the above does is resizes .gif and .png images always with NN :)
Attachments
userContent.css
(199 Bytes) Downloaded 1777 times
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Mon Nov 01, 2010 22:34

If you use a lot of add-ons, their entries can pile up in your about:config. You can best find out what kind of entries add-ons have added to your about:config registry by sorting them all based on their status, "user set". That way Firefox lists first entries that have been changed/added to it.

I mention this because I solved the rather common but extremely elusive "unresponsive script" javascript issue by simply uninstalling Smooth-Wheel, deleting its settings (choosing "Reset" for an entry is enough for Firefox to delete it after restart) and reinstalling the add-on.

A more straightforward method still would be simply to delete lines from your prefs.js file in your profile folder.
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).

User avatar
Mortis
Kakaist
Kakaist
Posts: 1452
Joined: Sun Jun 17, 1979 01:00
Contact:

Re: Firefox Tips & Tweaks

Postby Mortis » Fri Apr 22, 2011 15:07

If you're frustrated - like I am - with sites still using JavaScript to pop up windows instead of tabs, you can force Firefox to open them in new tabs with these settings:

Code: Select all

browser.link.open_newwindow 3
browser.link.open_newwindow.restriction 0
"...the public dissolves as fact and fiction blend, history becomes derealized by media into a happening, science takes its own models as the only accessible reality, cybernetics confronts us with the enigma of artificial intelligence, and technologies project our perceptions to the edge of the receding universe or into the ghostly interstices of matter." - Hassan, Ihab: "Toward a Concept of Postmodernism" (1987).


Return to “Geek Juice”

Who is online

Users browsing this forum: No registered users and 3 guests