Created
November 3, 2010 11:02
-
-
Save davestevens/660969 to your computer and use it in GitHub Desktop.
change facebook wall font size to something larger.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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