Monday, April 5, 2010

New look and feel

Changes are necesssary and so here it is the all new template ( which I googled and downloaded.. do not remember the address though... u can find it easily).
Now atleast the post would be more readable. Please send me the site if you can find it so that I can thank the template creator for this great work.

One Click Tweet - my first Chrome extension

Please ignore typos and sentence formation errors in this post, I m going to sleep.
Unemployed as I am of now, I am trying my hands on different things. There is a good news too. I have completed Dexter Season 4 and will now start doing my assignments.
Now to the topic, I never thought writing a Chrome extension would be so easy and fun. I wanted to make my first extension something useful and here is One Click Tweet. ( My classmate Gourab Mitra will surely google out many such extensions already existing in the world.........BUT this is mine :)  )
If you are a chrome user you can download it from here https://chrome.google.com/extensions/detail/objljdkenmjcpabphfidphkdkblceaph
If you are a developer you can browse the source code or better grab a copy ( I have used SVN, now for SVN vs Mercurial vs Git vs blah blah, i'll save it  for another day)
Now I m going to sleep.......... somebody wake me up at 5:30 for tea ( people call it high-tea which seems wrong to me for the stuffs we get here).
Contact if you wanna fix a bug in this extension or something.

Wednesday, March 31, 2010

Hacking a facebook app in 30 seconds , yup its right !!!!!

Recently, I saw one of facebook updates from my friend Arko, It said something like "It said 'I clicked 513 times in 30 seconds' Think you can beat your friend ??".  ( the app can be found at http://apps.facebook.com/myclickchallenge/)


I thought about the app for a while and this is what I got for you all.
Here is the trick to write virtually anything (a negative number , string , a 100 billion clicks ...whatever u like) instead of your number of clicks.


1. Open Firefox
2. Download and install Firebug ( http://.getfirebug.com/).Its a plugin for mozilla. It may be already present if you are a web developer.
3. Open the apps link http://apps.facebook.com/myclickchallenge
4. Right click on the page Click--- This Frame >>Open in new tab. This will open the app part of the page in new tab.
5. Now in this newly opened tab, click the firebug icon in bottom right of firefox to view the source code and scripts of the app.
6. You will find a variety of options there. On the top left of firebug you will get 'Console'. Click on it.
7. In the console write       vclick = 99999999999         or any value for vclick you want as the final value and press enter.
8. If you know just a bit of programming or javascript, you will find number of global variables like start, vtime etc. to tweak with.
9. After tweaking just start the game any wait for the time to finish by , then publish your hacked score.




Comment here if you face problems (although I doubt you will face one.) You may tweak other apps with this. I would be glad to know about your experiences here.


Abhishek