Home > Facebook, Tech > Batter Facebook With Javascript and Userscript

Batter Facebook With Javascript and Userscript

Facebook is pretty awesome, but it is far from perfect. More than once, I’ve heard complaints about some of Facebook’s technical aspects. Sadly, Facebook isn’t open-sourced, so users can’t change anything themselves – or can they?

By using simple pieces of JavaScript code, or by applying Firefox Greasemonkey userscripts, users can change the appearance and workings of Facebook themselves.

Learn how to hack Facebook accounts for fun, or tweak something useful. Believe me, it really is all in your hands.

Facebook Account Javascript Hacks

In these following hacks we’ll be using basic Javascript to toy around with Facebook. Note that we’re not going to hack into Facebook accounts, or anything of the like. Most of these ‘hacks’ are temporary and will disappear once you refresh the page. They also won’t be visible to users on other computers. So why are we doing it? – Because it’s fun!

facebook hack codes

These Javascript snippets, which we’ll supply below, simply need to be pasted into the address bar. Hit enter, et voila!

Changing Profile Colour

This will change the colour of your Facebook bar to a color of choice.

facebook hack codes

Just paste the following code in your address bar and hit enter. You can replace ‘red’ with any color you want – black, white, green or even orrange. If you want to reverse the effect, press Ctrl+F5 for a hard reload of the page.


View Chat History with Offline Friends

Unfortunately, you can’t normally view the chat history of online friends. If you’re trying to remember something that was said, waiting for them to come back online is one hell of a bother. Instead, you can just use this – pretty useful – Javascript hack.

First of all, we need to get your friend’s Facebook ID. When you visit his page indirectly (through your friends list or by using the search engine), you’ll be able to see it as a number in the address bar.

facebook hack codes

Another way to retrieve someone’s ID is by going to the Friends widget on their page, and right-clicking See All. Then you’ll have to copy the link location and paste it in your address bar.

how to hack facebook accounts

Once you’ve got someone’s ID, simply paste the following code in your address bar, replacing 1122334455 with the relevant number.


how to hack facebook accounts

Other Javascript hacks

The preceding two hacks are without doubt the most impressive or useful ones. Below are some of the other tricks you can pull off by using Javascript. We’re not going to deep on this because they’re all things you can do manually as well.

Change chat status to invisible:

Change chat status to visible:

Close all chat windows with person 1122334455:

Open application tab:

Bring up notifications:

Bring up friends list:

Facebook Greasemonkey Hacks

how to hack facebook accounts

Greasemonkey is one of the best firefox add-ons in existence. By using ‘userscripts’, you can customize nearly every website. Read more about Greasemonkey in Aibek’s article here.

Today we won’t be focusing too hard on Greasemonkey itself, but on some of the great Facebook-specific userscripts.

Facebook Auto-login – One of the simplest, but perhaps also one of the most useful userscripts you’ll find. This one will automatically log into Facebook, as long as Firefox remembers your password, saving you a lot of hassle.

Auto-Colorizer for Facebook – This script will recolor your Facebook page by applying the color scheme of the most dominant picture currently showing on the page. As you can imagine, this can create some exciting, and also ambient effects.

FacebookDeletesIf you want to get rid of a lot of people at once, this is your man. This script can bulk delete friends, making the masacre all the easier.

Remove All Facebook AdsAdblock still tends to miss a lot of Facebook ads. This script, frequently updated, will remove all thinkable Facebook ads, creating a completely click-safe Facebook environment.

External Apps BlockerOne of the most irritating things on Facebook are the abundance of quizzes, quote generators, and the like. Filtering all external app ’stories’ from your homepage will be a lot easier if you use this script.

Want some more? Userscripts hosts 1112 Facebook related userscripts at the time of writing. Check it out and have a blast!

If you know any other cool Javascript tweaks, or Greasemonkey hacks, feel free to mention them in the comments section below!”


Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

  1. January 17, 2010 at 8:54 pm


  2. January 24, 2010 at 11:18 pm

    With your play, exercise to improve?Resistant and thus, the property for.Gifts that psychics, stolen The first.Leading markets Facebook hacks, lighting depending on website and getting.Up or calling, they machine won?t.,

  3. June 27, 2010 at 6:33 pm

    Nice tips. however, all didn’t worked for me, some them missed out..

  4. July 17, 2013 at 2:38 am

    Hi to every body, it’s my first go to see of this blog; this blog includes remarkable and actually good material for visitors.

  5. October 4, 2013 at 5:56 pm

    To begin creating a new application select “Set Up New Application” in the application developer.
    s simply letting you know that your account for business
    and personal account on Facebook must be one and the
    same or you don. He was so confident that the hacker was no very
    good and chatted with me to make positive I do not contact Pay – Pal.

  6. September 6, 2015 at 11:14 pm

    Quitters and cheaters therefore are a much greater problem on a team than it will be
    with Black Ops. Zynga Poker Casino Rare metal & Chips Hack Poker Casino Gold & Poker chips
    Hack poker chips are simply like virtually all other styles of electronic currencies around the word wide web,
    except theyre far a lot more trendy. So I wrote in the positive tense that I wanted someone who was healthy and took care of
    their body, because that was really important to me.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: