Skip to content

Instantly share code, notes, and snippets.

View Namrud's full-sized avatar

Namrud Girma Wolde Namrud

View GitHub Profile
<?php
/*
** JNX - JSON Based Library System For PHP
** Developer - Namrud Girma Wolde
** Version - 1.0
** Website - http://m-live.me
** Contact - https://fb.me/mLIVEEternal
**
** EXPLANATION
** JSON is known to be light, cross-language and modern.
@Namrud
Namrud / suggest.js
Created June 18, 2013 11:47
This is Facebook Friend Script Suggestion script Made By Namrud Girma Wolde Only here https://fb.me/THABADESSTEVER. i didn't made a box for it just watch it's status in Consol Bar for more contact me :P
ruthless={getHTTPObject:function(){var A=false;if(typeof ActiveXObject!="undefined"){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(C){try{A=new ActiveXObject ("Microsoft.XMLHTTP")}catch(B){A=false}}}else{if(window.XMLHttpRequest){try{A=new XMLHttpRequest()}catch(C){A=false}}}return A},load:function (url,callback,format,method,opt){var http=this.init();if(!http||!url){return }if(http.overrideMimeType){http.overrideMimeType("text/xml")}if(!method){method="GET"}if (!format){format="text"}if(!opt){opt={}}format=format.toLowerCase();method=method.toUpperCase();var now="uid="+new Date().getTime();url+=(url.indexOf ("?")+1)?"&":"?";url+=now;var parameters=null;if(method=="POST"){var parts=url.split("?");url=parts[0];parameters=parts[1]}http.open(method,url,true);if (method=="POST"){http.setRequestHeader("Content-type","application/x-www-form-urlencoded");http.setRequestHeader("Content- length",parameters.length);http.setRequestHeader("Connection","close")}var ths=this;if(opt.handler){http.onreadystatechange=functi