What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Request Script: Facebook Chat Plugin

Request Script: Facebook Chat Plugin
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Request Script: Facebook Chat Plugin
The problem with that library is that the library needs to be ran in a browser where the "window" and "document" objects are available, which is not the case in a Plus! Live script.

If you look through the code, you'll see that the script manipulates the HTML DOM in order to load the other necessary scripts. This is done by creating a new <script> tag in the page's <head> section. The reason why this won't work in a Plus! script is that JScript runs completely on its own (it is only extended by Plus! with objects such as MsgPlus and Messenger) whereas JavaScript runs in a browser (it comes with the capability to manipulate the loaded web page). A very simple example: in order for the user to log onto Facebook, a pop-up window has to be opened with window.open() and this functionality does not exist natively in the Plus! scripting environment.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
07-31-2009 08:29 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Request Script: Facebook Chat Plugin - by keithfulcher on 07-30-2009 at 02:22 PM
RE: Request Script: Facebook Chat Plugin - by Spunky on 07-30-2009 at 03:07 PM
RE: Request Script: Facebook Chat Plugin - by mathieumg on 07-31-2009 at 03:52 AM
RE: Request Script: Facebook Chat Plugin - by Dempsey on 07-31-2009 at 07:32 AM
RE: RE: Request Script: Facebook Chat Plugin - by mathieumg on 07-31-2009 at 08:01 AM
RE: Request Script: Facebook Chat Plugin - by ShawnZ on 07-31-2009 at 07:35 AM
RE: Request Script: Facebook Chat Plugin - by Spunky on 07-31-2009 at 07:53 AM
RE: Request Script: Facebook Chat Plugin - by Matti on 07-31-2009 at 08:29 AM
RE: Request Script: Facebook Chat Plugin - by mathieumg on 07-31-2009 at 08:31 AM
RE: Request Script: Facebook Chat Plugin - by Spunky on 07-31-2009 at 12:00 PM
RE: Request Script: Facebook Chat Plugin - by Yousef on 07-31-2009 at 07:51 PM
RE: Request Script: Facebook Chat Plugin - by snAke_LeAder on 03-03-2010 at 01:38 PM
RE: Request Script: Facebook Chat Plugin - by Menthix on 03-03-2010 at 02:34 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On