Here's what this code does:
You create a facebook page using this script and you lock the page with a pop-up, asking the user to enter a javascript:; code into the address bar. Please see img/screenshot-fbpop-up.JPG. The pop-up looks like facebook genuine pop-up, and when the user enters that code, the folowing happens:
1. The user gains access to the content you promised
2. injects Jquery into facebook
3. stuffs user cookies with your amazon affiliate id, using preconfigured CTR prediction
4. pulls up the target's friend list, and starts to spam their wall with the page you just created
5. every 30 friends connects to tinyurl and generates another link, to avoid detection by facebook
6. hides "recent activity" so if the user visits his wall, he won't see what he just did
7. all requests are subsequent and ajax based, so the browser won't look like refreshing and it won't leak memory
8. converts all the links on that page to your own ****** link, when the user is done reading, he might accidentally click your link.
9. optionally can friend a target (sends a friend request, or several) and give like to a page (or several)