Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Yahoo Messenger Source Code Released: Chat Window Code
From: n3td3v <n3td3v () gmail com>
Date: Sun, 30 Apr 2006 00:37:42 +0100

=$MsgsPerRegion){ $DestroyMessages(($Region+1)%$MaxRegions, "region");
$Region=($Region+1)%$MaxRegions; $MsgCount=0; } if (ignored) t=''; var
i=insertpoint; var b=imbody; if(i)
i.insertAdjacentHTML("BeforeBegin",t); else if(b)
b.insertAdjacentHTML("BeforeEnd",t); } function $Append(name, text,
datestamp, timestamp, mode, ignored, dispname) { if(dispname == "")
dispname = name; var classname; switch (mode) { case TT_SENT:
classname = "sendername"; break; case TT_RCVD: classname =
"recvername"; break; case TT_YMSGR: classname = "ymsgrname"; break;
case TT_CHAT_MSG_SENT: classname = "chatsender"; break; case
TT_CHAT_MSG_RCVD: classname = "chatrecver"; break; case
TT_CHAT_IGNORE: case TT_CHAT_JOIN_LEAVE: case TT_CHAT_ACT_SENT: case
TT_CHAT_ACT_RCVD: return
$AppendChatAction(name,text,mode,ignored,dispname); case
TT_ACTION_MSG_RED: case TT_ACTION_MSG_GREEN: case TT_STATUS_CHANGE:
case TT_STATUS_CHANGE_IMUNIFIED: return $AppendStatus(text,mode); case
TT_TEXT: return $AppendOther(text); case TT_CHAT_JOIN_HEADER: return
$AppendOther("

" + text + "

"); default: return alert("Undefined Text Type: " + mode); }
$bAutoScroll=$UpdateAutoScroll(); var t="
0) t+=timestamp+")"; if (mode==TT_YMSGR) t+=": "; else t+=": "; t+=""+text+"

"; Insert(t,name,ignored); $Scroll(); } function
$AppendChatAction(name,text,mode,ignored,displayname){ var classname;
var classtext="chataction"; var dispname=displayname;
if(mode==TT_CHAT_ACT_SENT) classname="chatsender"; else
if(mode==TT_CHAT_ACT_RCVD) classname="chatrecver"; else{
if(mode==TT_CHAT_IGNORE){ dispname="*** "+dispname; ignored=false; }
classname="chatusername"; classtext="usertext"; }
$bAutoScroll=$UpdateAutoScroll(); var t="
"+dispname; t+=" "+text+"

"; Insert(t,name,ignored); $Scroll(); } function $AppendStatus(t,m){
if (document.all.ystatus) ystatus.outerHTML = ""; var
classname="graystatus"; if (m==TT_ACTION_MSG_GREEN)
classname="greenstatus"; else if(m==TT_ACTION_MSG_RED)
classname="redstatus"; $bAutoScroll=$UpdateAutoScroll(); Insert("
"+t+"

"); $Scroll(); } function $AppendOther(t){
$bAutoScroll=$UpdateAutoScroll(); Insert("
"+t+"

"); $Scroll(); } function $Clear(){ imbody.innerHTML="



=0;i--){ var attribute=Msgs[i].getAttribute(a,0); if(attribute==n){
var s=Msgs[i].outerHTML; s='=0;i--){ var
attribute=Msgs[i].getAttribute(a,0); if(attribute==n) { var
s=unescape(Msgs[i].getAttribute("data"));
Msgs[i].insertAdjacentHTML('afterEnd',s); Msgs[i].outerHTML=""; } } }
$Scroll(); } function $Copy(){ var
t=document.selection.createRange().text; if (t!="") $InvokeCmd(10,t);
} function $BackgroundImage(image,url,valign,halign,repeat,color){ if(
image == "" ) { imbody.style.background = ""; return; } if( valign ==
"" ) valign = "center"; if( halign == "" ) halign = "center";
imbody.style.backgroundPosition = valign+" "+halign;
imbody.style.backgroundImage = "url("+image+")"; if( repeat == "" )
repeat = "no-repeat"; imbody.style.backgroundRepeat = repeat;
imbody.style.backgroundAttachment = "fixed"; if( color == "" ) color =
"#ffffff"; imbody.style.backgroundColor = color; } function
$InvokeCmd(a,b){ window.external.InvokeCommand(a,b); } function
urlClick(that) { } function urlUp(that) { }

You are in "Security news:1"; ( http://groups-beta.google.com/group/n3td3v )



n3td3v (14/06/05 01:53:42): Hello World



document.body.onresize=$HandleResize; RestoreStyles();

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]