facebook like button hack
I was wondering how they do it. You come to a website like www.web-burner.de/junge, you think its a simple video player and click the play button. Suddenly you have clicked an invisible facebook like button! How can this happen? The facebook Like-Button is an iFrame. It is pretty difficult these days to hack an iFrame and change its content to look like an video player.
After I had a look in the source code of the side, I recognized its acctually a pretty simple and effective hack. Nice idea, even if its not really "likable"!
1. Make the Button invisible
The solution is (have a look at the screenshot) that the like button iFrame is inside a 2px big iFrame again. 2px in width and height which makes it pretty invisible. But if its so tiny, how can you click it?
2. Let the Button follow your mouse
Well well well.... I Like the idea, not the consequences :-) Also it´s against the facebook policies if you mind...