- Back to Home »
- Facebook , Hacks , Site Tricks »
- Hacking Facebook with Javascript (Part2)
Saturday, January 8, 2011
Facebook Hack: Change your name (temporarily)
This one’s a very simple hack that you can apply to any website. As you saw in the screenshot above, I’d changed my facebook to display as “Facebook | Leet Hax0r”. You can do this by using the following javascript:
javascript:void(document.title="Facebook | Neo");
Sadly, your friends will only see your actual name, not the new one, but it can make for some amusement in a computer lab class or anywhere where you can show people face to face.
Facebook Hack: Close chat windows
If you’re chatting to a friend and want to close the window, sure you can just click the ‘x’ in the top corner, but isn’t it cooler to do it with javascript? Well no not really, but if you can trick your friend into typing the following code in, you can close the chat window of anyone they’re chatting to:
javascript:chatDisplay.tabs[123132132213]
.tabXOnClick();
That will close my chat with “123132132213″. You can send your friends that link with your own facebook ID in it, and it’ll close their chat window with you! And if you happen to know that ID:123 is chatting with ID:321, you can send the following to ID:123, and when they paste it in it’ll close their chat with 321!
javascript:chatDisplay.tabs[321].tabXOnClick();
Other Facebook Hacks
The hacks above are the most impressive, but there are a few other little things you can do which are mildly interesting:
Bring up notifications:
javascript:presence.toggleTab('chat_status_control'
,'chat_status_control_tab');
Bring up online friends list:
javascript:buddyList.toggleTab();
Bring up application tab:
javascript:applicationDock.toggleTab();
Make text bold or underlined in facebook chat: use *stars* for bold text, and _underscores_ forunderlined. There is no way to get italic text on facebook; see my comment here about facebook chat italics.
That’s all the hacks I’ve found (but I know there are more).
In fact, it’s possible to get your friends to “like”, or “unlike” items, and I think it would be possible to get them to comment and more, but the complexity of the javascript makes it not worth doing, plus you have to get them to paste code into their address bar – there’s no way to do it without getting them to do that.
This one is awesome tweak:-
Click in your status update box and type the following: [up] [up] [down] [down] [left] [right] [left] [right] b a [enter], and then click anywhere on the page to see lensflares.
Facebook Chat Smiley's
awesome! this will help!
ReplyDelete