Skip to main content

//*FACEBOOK'S CHAT //code*

COPIED :)


OrderedFriendsList = function() {
var a = [];
var b = {};
var c = false;
return copy_properties(new Arbiter, {
init: function(d) {
this.init = bagofholding;
a = d;
a.forEach(function(f, e) {
b[f] = e;
});
c = true;
this.inform("initialized", {}, Arbiter.BEHAVIOR_PERSISTENT);
},
contains: function(d) {
return d in b;
},
compare: function(d, e) {
var h = OrderedFriendsList.getRank(d);
var i = OrderedFriendsList.getRank(e);
if (h !== i) return h - i;
var f = ((ChatUserInfos[d] || {}).name || "~").toLowerCase();
var g = ((ChatUserInfos[e] || {}).name || "~").toLowerCase();
if (f !== g) return f < g ? -1 : 1;
return 0;
},
getList: function() {
//This is the only line that was changed from facebook's code.
//Make sure the list returned only contains user ids from the AvailableList
return AvailableList.getAvailableIDs();
},
getRank: function(d) {
return d in b ? b[d] : a.length;
},
isReady: function() {
return c;
}
});
}();


OrderedFriendsList.init(AvailableList.getAvailableIDs());
if (ChatSidebar.isEnabled() && ChatSidebar.isVisible()) {
ChatSidebar.toggle();
ChatSidebar.toggle();
}


--------------------------------------------------

Read this... You will love it


Poverty Redefined

Comments

Popular posts from this blog

Timi Uta Ma Yeta (Sunsaan Raat Ma) Guitar Chords - Pratik Gurung Cover - Original by Milan Newar, Rajan Raj Shiwakoti

 I came across this song when Kanden Limbu sang this in Nepal Idol.  He was one of the contestants. I thought it was his original. Surprisingly, it is not. His was based on Pratik Gurung's cover. This is actually a full fledge song with a music video. Here's the original one. However, I like the cover version. Here are the chords for a portion of the song. The chords are based on this tutorial . In the tutorial, plucking is used. You can strum as well if that's what you prefer.  CAPO: 2nd fret STRUMMING: D-DU Plucking used: 5-2-3 (C and Am), 4-2-3 (FT and GT), 6-2-3 (G) Chords: C, Am, G Major, F Major Triad (FT), G Major Triad (GT) NOTE: It's easier if you play G Major in C's original position; just move 2 and 3 fingers one step up.   C                             Am (Sunsan raat ma yo mero aatma FT               GT    C Chasakka bi...

Pokhiyera Ghaam Ko Jhulka Guitar Chords|| Narayan Gopal || Ambar Gurung || Hari Bhakta Katuwal

  Pokhiyera Ghaam Ko Jhulka Guitar Chords || Narayan Gopal  Composer: Ambar Gurung Lyrics: Haribhakta Katwal Vocals: Narayan Gopal Guitar Chords based on tutorial by Nepali E-Chords . I take no responsibility if the chords are not absolutely right. But it sounded good enough for me.  Chords used: G, C, D, Am, Em, Bm Strumming: D-DUDU Intro: D       G      D             G              D      G Pokhiyera Ghamko Jhulka, Bhari Sangharama G                     D                     Em                G Timro Jindagiko Dhoka, Kholu Kholu Lagchha Hai Am                     C  ...

A Mai Re l Kuma Sagar | Hawa Ko Lahar | Guitar Chords | Lyrics

A Mai Re (Hawa Ko Lahar) chords   by  Kuma Sagar Tuning: E A D G B E Capo: 3rd fret [Verse 1] C Cmaj7sus2/B Hawa ko lahar sangai Fsus2 C Udi rahana mann bho ni Fsus2 C Timro tyo baasanaa Am7 G Mann mai chalyo re C Cmaj7sus2/B Hawa ko lahar sangai Fsus2 C Udi rahana mann bho ni Fsus2 C Timro tyo baasanaa Am7 G Mann mai chalyo re C Cmaj7sus2/B Timro tyo boli maa Fsus2 C Magana bhayera Fsus2 C Timro-agadi ful haru pani Am7 G Chham chham chham chham, Nachyo re C Cmaj7sus2/B Am7 G Ooo .. ho ho .. hoo ho ho C Cmaj7sus2/B Fsus2 G Ho ho... Hmm... [Music] [Verse 2] C Cmaj7sus2/B Para baata sundaa Fsus2 C Timro tyo boli Fsus2 C Mutu mai laagera Am7 G Maanai ramaayo re C Cmaj7sus2/B Para baata sundaa Fsus2 C Timro tyo boli Fsus2 C Mutu mai laagera Am7 G Maanai ramaayo re C Cma...