Friday, June 5, 2009

Re: [JavaScript] Re: Request

I found the code to detect whether the client has installed MSN. I have no
idea whether it works on FF or Opera and so on.

varMSN_Check;
document.write("<object
classid=&#39clsid:F3A614DC-ABE0-11d2-A441-00C04F795683&#39
codeType=&#39application/x-oleobject&#39 height=&#390&#39 id=&#39MsgrObj&#39
width=&#390&#39></object>"+
"<object classid=&#39clsid:FB7199AB-79BF-11d2-8D94-0000F875C541&#39
codeType=&#39application/x-oleobject&#39 height=&#390&#39 id=&#39MsgrApp&#39
width=&#390&#39></object>");

if("undefined" != typeof(MsgrObj) && null != MsgrObj.object &&
"undefined"!=typeof(MsgrApp)&&null!=MsgrApp.object){
 if(MsgrObj.LocalState==1)
MSN_Check=false;    
else
MSN_Check=true;    
}else
MSN_Check=true;

functionMSG_SEND(mail){    
if(MSN_Check){       
varState=MsgrObj.LocalState;
if(1!=State)if(mail!=MsgrObj.LocalLogonName)
MsgrApp.LaunchIMUI(mail);
else{
MsgrApp.Visible=1;MsgrApp.LaunchLogonUI();
}
}
}

Thanks,
Philip

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

Visit http://aiaiai.com for more groups to joinYahoo! Groups Links

<*> To reply to this message, go to:
http://groups.yahoo.com/group/JavaScript_Official/post?act=reply&messageNum=16701
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/JavaScript_Official/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:JavaScript_Official-digest@yahoogroups.com
mailto:JavaScript_Official-fullfeatured@yahoogroups.com

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/JavaScript_Official/

<*> To unsubscribe from this group, send an email to:
JavaScript_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Re: [JavaScript] Re: Request

Tks to all for the help,
Im looked for a Gtalk and MSN detection but and found nothing...
For now, when the user click the Gtalk button, I send the URL to a popup to
open the application and then close that popup, if the user dont have the
app, the popup open and close and nothing happen...Same to the MSN... :(
Not exactly what I looking for, but...

Let me know if somebody have another solution.

Tks.


[Non-text portions of this message have been removed]

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

Visit http://aiaiai.com for more groups to joinYahoo! Groups Links

<*> To reply to this message, go to:
http://groups.yahoo.com/group/JavaScript_Official/post?act=reply&messageNum=16700
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/JavaScript_Official/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:JavaScript_Official-digest@yahoogroups.com
mailto:JavaScript_Official-fullfeatured@yahoogroups.com

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/JavaScript_Official/

<*> To unsubscribe from this group, send an email to:
JavaScript_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/