Saturday, April 21, 2012

Hacking Facebook with Javascript Codes: By Piyush


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.toggleTab();
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('headNavOut').style.backgroundColor="red");
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
New: Video Tutorial for this hack.
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: http://www.facebook.com/home.php#/profile.php?id=123132132213&ref=nf
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.itemOnClick(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: Now that we have facebook usernames, 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:
http://www.facebook.com/friends/?id=YOUR_ID_HERE&view=everyone
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.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_ for underlined. 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.

Facebook Easter Egg: Pirate Language


Here’s a nice little facebook easter egg for you:  Go to the language settings page and scroll to the bottom of the list of languages, and somewhere around there you should see “English (Pirate)” in the list of supported languages.
Choose that language option and avast ye sails fer much facebook silliness.
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:

 Facebook Chat Smilies

There are a whole load of facebook emoticons available in the chat window. Here’s the complete list decribing what facebook smileys there are and how to display smilies in facebook chat. This seems to have been first discovered by 20bits.com. This list includes the shark smilie and the new facebook penguin smiley!
facebook happy smiley :) facebook sad smiley :( facebook tongue smiley :P facebook grin smiley :D
facebook shock smiley :o facebook wink smiley ;) facebook glasses smiley 8) facebook cool smiley 8|
facebook grumpy smiley >:( facebook erm smiley :/ facebook crying smiley :’( facebook devil smiley 3:)
facebook angel smiley O:) facebook kiss smiley :* facebook love smiley <3 facebook happy smiley ^_^
facebook happy smiley -_- facebook confused smiley o.O facebook laugh smiley <:o facebook pacman smiley :v
facebook shark smiley (^^^) facebook cat smiley :3 facebook robot smiley :|] facebook putnam smiley :putnam:
<(“)

28 comments:

  1. It's an remarkable article in favor of all the web users; they will get advantage from it I am sure.

    Also visit my web page ... http://legalservices.co.in

    ReplyDelete
  2. The most important thing to know when you are selling an account is where you are going to sell.
    WIFI:Als Verbindungsmoglichkeiten ins Internet stehen Ihnen WIFI wireless lan zu Verfugung.
    A Twitter app for Zune has been created and
    is now available for download through Microsoft's Marketplace.

    My site :: online radio

    ReplyDelete
  3. Hold down an app for a second, and start turning off all the apps that you aren't using by pressing the "minus" button. If you don't want to use Safari to
    navigate to pages, zoom in, and read articles, Byline may be just the app for you.
    Both Intel and AMD contain information built in the processor
    to allow the processor to be used efficiently
    with mobile computing saving on battery life while giving the best performance.


    Also visit my web-site www.lagbook.com

    ReplyDelete
  4. For some people, renting those games was another option,
    which yet again burns a hole in their pocket. You will eventually run into the Download Location menu with two options: Wii System Menu and SD Card.
    However, make sure that your phone is equipped with a
    powerful processor to enable deeper searches and devise a strategy to
    give a challenging game of chess.

    Here is my weblog; videos von youtube downloaden

    ReplyDelete
  5. With ԁozens οf radio аpps for i - Phоne available in i - Tunes, theгe іs
    аn aрp for every category of music lover to love.
    Υet another wаy to construct a devicе to harness eneгgy from radio waveѕ is using
    an antenna, cοnnected tο a serіes of dioԁеѕ and a caρacitor bank that is earthed.
    Εven todаy, I go big game huntіng and all this, anԁ the more
    dangerous ѕomethіng iѕ, the happіеr I аm.


    Feеl free to visit my ωeb pаge .

    .. http://www.kiezfunk.net

    ReplyDelete
  6. hack facebook password online
    http://www.hack-fb-online.com
    check above site

    ReplyDelete
  7. If there's a real lesson here, it is that you should make a reasonable profit on a regular basis selling books or anything else, and once in awhile you'll get an unexpectedly
    nice payday. If your new found Bulk REO source does not have what you
    are looking for, don't give up. Therefore, most adults search for the beer concession stand at an event.

    Also visit my webpage: wikipwdia

    ReplyDelete
  8. I'm amazed, I have to admit. Rarely do I encounter a blog that's both educative
    and entertaining, and without a doubt, you've hit the nail on the head. The problem is something which too few people are speaking intelligently about. I am very happy I stumbled across this during my hunt for something concerning this.

    My weblog ... dragonvale buy gems with coins

    ReplyDelete
  9. site aflam et jeux pc psp 2013 et sms gratuit

    ReplyDelete
  10. site aflam et jeux pc psp 2013 et sms gratuit http://rojorich.tk/

    ReplyDelete
  11. This paragraph will help the internet viewers for creating new blog or even
    a blog from start to end.

    Feel free to surf to my web site - sharecash downloader 2013

    ReplyDelete
  12. I visited multiple blogs except the audio quality for audio songs existing at this web page
    is genuinely marvelous.

    Also visit my blog post: sharecash auto

    ReplyDelete
  13. This program is intended to recover lost passwords for RAR/WinRAR
    archives of versions 2.xx and 3.xx. http://www.passwordrecoveryforrar.
    tk The free professional solution for recovering lost passwords to RAR and WinRAR archives.


    I loved as much as you'll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly a lot often inside case you shield this increase.

    ReplyDelete
  14. I seldom comment, but after reading through a great deal of remarks here "Hacking Facebook with Javascript Codes: By Piyush".
    I actually do have 2 questions for you if it's allright. Could it be just me or does it look like like a few of the comments appear as if they are coming from brain dead people? :-P And, if you are posting at additional sites, I'd like to keep up with you.
    Would you list of every one of all your social networking sites
    like your linkedin profile, Facebook page or twitter feed?


    My website; Best Funny Pix

    ReplyDelete
  15. Wow, wonderful blog layout! How lengthy have you ever been blogging for?
    you make running a blog glance easy. The entire look of your web site is fantastic, as smartly as the content material!


    Also visit my web-site; Twitter Freezer

    ReplyDelete
  16. If you want a Premium Minecraft Account check out this generator.
    With it you can generate a unique Minecraft Premium Account which no one
    else has! You can Download the Free Premium Minecraft Account Generator http://www.
    MinecraftDownload4Free.tk

    Hi there colleagues, its wonderful piece of writing on the topic of cultureand entirely defined, keep it up all the time.

    ReplyDelete