Skip to content

Instantly share code, notes, and snippets.

@davestevens
Created November 3, 2010 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davestevens/660969 to your computer and use it in GitHub Desktop.
Save davestevens/660969 to your computer and use it in GitHub Desktop.
change facebook wall font size to something larger.
/* change Facebook wall font size
/* copy this into the javaConsole in your browser with facebook open
and press enter */
/* in Chrome this is opened by View | Developer | JavaScript Console
choose 'Console' (furthest right tab) and paste all of this in */
/* in Safari this is a bit trickier, you need to enable hidden debug
menu, in Terminal enter:
defaults write com.apple.Safari IncludeDebugMenu 1
Then restart Safari, open with Develop | Start Debugging JavaScript
choose 'Console' (furthest right tab) and paste all of this in */
/* in Firefox, i dunno.
*/
var fontSize = 13; /* change the font size here */
tags = document.getElementsByTagName('*');
for (var i = 0, j = tags.length; i < j; i++) {
if (tags[i].className == 'messageBody' ) {
tags[i].style.fontSize = fontSize + 'px';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment