Hacking Facebook with Javascript | Ksecurity-team

Subscribe & Don,t Miss A Free Hacking Course| Receive Daily Updates

Enter your email address:

Delivered by FeedBurner

Hacking Facebook with Javascript



now updated for the latest (March 2010) version of facebook!

Because facebook relies so heavily on javascript, and because we can type javascript into the address bar, that means we can “poke” into the workings of facebook to do things that we wouldn’t normally be able to do. It’s not “hacking” exactly, but it employs the same sort of skills hackers use when looking into applications. The best part is that because it’s all using the same control codes (or “API”) that facebook uses, there’s no way for facebook to find out you’re doing it, so it’s totally safe! (I think…) Besides, we’re not going to be doing anything too dodgy, just a few little tweaks
Facebook Hack: Sending your friends offline
Here’s a funny one; if you’re chatting to a friend, get them to paste the following code into their facebook address bar:
javascript:buddyList.togg leTab();
It’ll make them go offline! Of course it’s not permanent, they can go back online by clicking the icon as normal, or by giving the same command again
Facebook Hack: Change facebook color
Check this out:

Isn’t that cool? Just use the following code to get your profile colour changed and impress your friends!
javascript:void(document. getElementById('headNavOu t').style.backgroundColor ="red");
Or for a more comprehensive facebook color change, copy all the following code into your address bar when on facebook

PHP Code:
javascript:col="red";void(document.getElementById("pageLogo").innerHTML="");void(document.getElementById("blueBar").style.backgroundColor=col);kids=document.getElementById('jewelCase').childNodes;
for(
i=0;i<kids.length;i++){void(kids[i].style.backgroundColor=col); void(kids[i].style.border='none');
}
void(document.getElementById("notificationsWrapper").style.border="none");kids=document.getElementById('pageHead').childNodes;
for(
i=0;i<kids.length;i++){void(kids[i].style.backgroundColor=col); void(kids[i].style.border='none');
Of course, you can use any colour you like; green, yellow,orange, black. It’s also fun to change it to “white” so you can’t see the text. Muahahaha. Again, only you can see it, but it does last until you log out or view certain special pages.
Facebook Hack: Get Chat History Even When Friends Aren’t Online

Here’s a facebook hack that’s actually proven very useful to me in the past. One thing that I find annoying about facebook is that you can’t retrieve chat history if your buddy is offline… well now you can!
Click onto your friend’s profile page and copy their facebook ID from the address bar; i.e. the number after “id=”, highlighted in red below:

It might look slightly different, perhaps like this:
But the important thing is to copy the number of the user, in our case 123132132213
Then while you’re still on facebook, type this into the address bar:
javascript:buddyList.item OnClick(123132132213);
(with the correct ID of course)
And their chat window will pop up, saying “Jimbo is offline”. And if there’s any chat history, it will be displayed. How neat is that!
You can even open a chat window to yourself by pasting your own ID into the javascript, as seen to the right. You can use it for little notes to yourself, but remember that facebook chat history is cleared every few days, so don’t rely on it.
UPDATE1: A few people have had trouble pasting it in correctly, so here’s how it should look:

UPDATE2: it can be little harder to determine the ID of a profile, but it’s still possible – here’s one way: right click the “see all” friends link and choose “copy link location”, like so:

Or in Internet Explorer, you can choose “open link in new tab”. The resulting URL will look something like this:
That’s it!
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.ta bs[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.ta bs[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.toggl eTab('chat_status_control ','chat_status_control_ta b');
Bring up online friends list:
javascript:buddyList.togg leTab();
Bring up application tab:
javascript:applicationDoc k.toggleTab();
Make text bold or underlined in facebook chat: use *stars* for bold text, and _underscores_ for underlined. There is no way to get italic text on

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.
Facebook Easter Egg: Pirate Language

Facebook Easter Egg: Konami
This one is awesome, thanks to Jim in the comments for letting me know about it.
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




Share your views...

1 Respones to "Hacking Facebook with Javascript"

Blogger said...

If you would like an alternative to casually flirting with girls and trying to find out the right thing to say...

If you would rather have women chase YOU, instead of spending your nights prowling around in crowded pubs and night clubs...

Then I urge you to play this eye-opening video to learn a shocking little secret that has the potential to get you your own harem of beautiful women just 24 hours from now:

FACEBOOK SEDUCTION SYSTEM...


August 24, 2017 at 6:32 AM

Post a Comment

 

Members

Join Us At Facebook

Enter your email address:

Delivered by FeedBurner

© 2011 Ksecurity-team All Rights Reserved Hackguide4u Theme by Adnan Anjum Learn Hacking Online hackguide4u.blogspot.com