Hacking For Beginners !

dmudhitha

Active member
  • Jan 9, 2009
    658
    49
    28
    Hacking Facebook


    Hacking Facebook with Javascript


    fblogo.png


    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:statusControl.sendVisibility(false);
    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 this command:
    javascript:statusControl.sendVisibility(true);
    Facebook Hack: Change profile colour
    Check this out:
    color.png

    Isn’t that cool? Just use the following code to get your profile colour changed and impress your friends!
    javascript:void(document.getElementById('fb_menubar').style.background='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, and it only lasts till you refresh the page, but it’s still worth it!
    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:​
    getid.png

    _hellome.png

    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:
    howto.png
    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:
    viewall.png
    Or in Internet Explorer, you can choose “open link in new tab”. The resulting URL will look something like this:

    That’s it!
     

    Wthilina

    Well-known member
  • Sep 21, 2008
    2,787
    125
    63
    Loweth Na
    Hacking Facebook


    Hacking Facebook with Javascript


    fblogo.png


    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:statusControl.sendVisibility(false);
    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 this command:
    javascript:statusControl.sendVisibility(true);
    Facebook Hack: Change profile colour
    Check this out:
    color.png

    Isn’t that cool? Just use the following code to get your profile colour changed and impress your friends!
    javascript:void(document.getElementById('fb_menubar').style.background='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, and it only lasts till you refresh the page, but it’s still worth it!
    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:​
    getid.png

    _hellome.png

    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:
    howto.png
    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:
    viewall.png
    Or in Internet Explorer, you can choose “open link in new tab”. The resulting URL will look something like this:That’s it!
    Ela Ela:P
     
    Last edited: