gorn.ch

Tobias Ebnöther's personal blog

Taming firefox temp files on osx

It's very annoying on OS X Firefox saves temporary files on your desktop per default. So you'll get a bunch of PDFs on your screen after a hard work day ;)

Here is how to fix it:
  • Change the Download Folder in Safari, Firefox uses it as tempDir.
  • Add the following key to your config to keep the tempDir clean (Firefox will delete temp files after closing): app.helperApps.deleteTempFileOnExit = true
Related Entries:
xchat on OSX / Command as alt
Setting up relayhost for postfix on OSX (with ssl and authentication)
MacHeist Software Bundle
Leopard native apache with custom (64bit) PHP
Leopard PHP / Apache Package with pecl support
 Permalink

More Yahoo! "improvements"

After using my old Yahoo! improvements for a while I wasn't satisfied with the readability of the odd / even columns anymore. I decided that it should split up in the middle of the results and scent a nice chance to play around with CSS3.
The first thing I had to learn about CSS3 was that Firefox sucks in that case. The mozilla crew hasn't implemented most of the features yet but it looks still better then the old way:
Would look always that nice with better CSS3 support

The problem is Firefox doesn't support any column-break-* styles yet so I can't control the column break. In some cases it can happen that link and description get separated in the different columns. Nevertheless I included that style and hope it will work nicer with the next Firefox upgrade:
@-moz-document domain(search.yahoo.com) {
    #ygunav, #yschtools, #yschsec, #yschft, #yschasouth, #ygmalogo,
    #yschinfo h1, .yschbbox, div > p.yschftad, #yschssbx {
        display:none;
    }
    #yschpri, #yschcont {
        margin-left:0 !important;
    }
    #yschweb {
        width:100%;
        max-width:100% !important;
        -moz-column-count:2;
    }
    #yschweb li {
        -moz-column-break-inside:avoid;
    }
    #yschrel {
        clear:both;
    }
}


The greasemonkey script doesn't need to clear the odd elements anymore. So you should update it too if you prefer the new style.
Related Entries:
Yahoo! "improvements"
Taming firefox temp files on osx
Nabaztag Widget
awesomebox
 Permalink

Yahoo! "improvements"

Today I accidentally deleted my firefox profile, that was a great chance to play around a little with the userContent.css where everything started.

I like Yahoo! Search but there are some annoying things. It wastes a lot of space and does ugly redirects (for statistic reasons I guess). To make it look a little nicer I started to remove unnecessary things and margins then I floated the search results that it will display in a two colums layout. To do so add the following Styles to your Firefox's userContent.css:
@-moz-document domain(search.yahoo.com) {
#ygunav, #yschtools, #yschsec, #yschft, #yschasouth, #ygmalogo,
#yschinfo h1, .yschbbox, #yschssbx, div > p.yschftad {
display:none;
}
#yschpri, #yschcont {
margin-left:0 !important;
}
#yschweb {
width:100%;
max-width:100% !important;
}
#yschweb ol li {
width:47%;
float:left;
margin:0 0 0 20px !important;
}
#yschrel {
clear:both;
}
}


To remove the redirects I looked for a greasemonkey script at http://userscripts.org/ but found nothing that fit my needs. Inspired by the Yahoo Link Tracking Removal script I started to write my own thing.

My script isn't tested yet. It tries to remove the rds.yahoo.com stuff and improves the two column layout. If you like to try it out you can get it here.

Finally my Yahoo! Search looks like this:
No wasted space there :)
Related Entries:
More Yahoo! "improvements"
Taming firefox temp files on osx
Nabaztag Widget
awesomebox
Comments (0)  Permalink
1-3/3
Powered by Flux CMS