Security alert. Cross Site Request Forgery. More info here, fixed release available. [25] (what's this?)
Security alert. Information Leakage and Privilege Escalation. More info here, fixed release available. [24] (what's this?)
New release available: 2009-12-25 "Lemming". upgrade now! [23] (what's this?)
New release candidate available: 2009-12-02 "Mulled Wine". upgrade now! [22] (what's this?)
Security alert. Local file inclusion bug. More info here, fixed release available. [18] (what's this?)
New release available: 2009-02-14. upgrade now! [17] (what's this?)
New release candidate available: 2009-01-30 (RC2). upgrade now! [16] (what's this?)
 
// ==UserScript==
// @name           Fix New Facebook
// @namespace      http://artzilla.org/
// @include        http://www.facebook.com/home.php
// @description    Swap columns, hide ads, and fix tiny fonts in the new Facebook design (July 2008) 
// @author         Jamie Wilkinson <jamie@internetfamo.us>
// ==/UserScript==

// from diveintogreasemonkey.com, thanks
function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

// the magic
addGlobalStyle(

  // swap home screen columns
  '.UITwoColumnLayout_NarrowContent { float: left !important; }'
  +'.UITwoColumnLayout_Content { float: right !important; }'

  // fix the menubar's tiny font size per Greg, http://halvfet.com
  +"#dropmenu_container div, #fb_menubar { font-size: 12px; }"

  // and remove "social ads" in newsfeeds, sidebar "sponsors", and the entire ad column
  +".social_ad, .sponsor, #home_sponsor, .adcolumn { display: none !important; }"

);

TODO: need to allow .js file uploads so we can upload userscripts!

jdubs_fix_new_facebook.txt · Last modified: 2009/01/27 06:35 by 24.45.9.157
 
 
2007-2008 by the artzilla.org crew tobi-x and jdubs and gleuch