+++++ Dear ….. Thank you for visiting our booth at the Myanmar Black Hacking. We hope you will have a good time and enjoyed your visit to Underground. In case we won't answer some of your questions about our Real Info, we encourage you to visit our website at www.myanmarblackhacking.com +++++ It will give you a good idea of what we can do for +++++

Feb 19, 2015

0 Javascript သံုးျပီး Deface Pgae တြင္ မိမိ Febook Cover ပံုထည့္သြင္းနည္း

 

Hello ! if you are willing to show your facebook Cover photo to your deface page. It's scary to show off your deface. Use wisely at your own risk. 


==============here is code================
<!DOCTYPE html>
 
<html>
<head>
<script>
function loadXMLDoc()
{
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
var json = JSON.parse(xmlhttp.responseText );
document.getElementById("myDiv").innerHTML="<img src='"+json.cover['source']+"' />";
}
}
xmlhttp.open("GET","http://graph.facebook.com/your_fb_graph_id_here?fields=cover",true);
xmlhttp.send();
}
window.onload=loadXMLDoc;
</script>
</head>
<body>
<div id="myDiv"><h2>here,ur fb cover foto will come out!</h2></div>
</body>
</html>
 
 
 
credit by lotus black

0 comments:

Post a Comment