Yahoo! Messenger's installation process automatically installs an extra URI scheme ("protocol") handler into some web browsers, so that URIs beginning "ymsgr:" can open a new Yahoo! Messenger window with specified parameters. This is similar in function to the mailto: URI scheme, which creates a new e-mail message using the system's default mail program. For instance, a web page might include a link like the following in its HTML source to open a window for sending a message to the YIM user notarealuser:
Send MessageSend Message
To specify a message body, the m parameter is used, so that the link location might look like this:
ymsgr:sendim?notarealuser&m=This+is+my+message
Other commands are:
ymsgr:sendim?yahooidymsgr:addfriend?yahooidymsgr:sendfile?yahooidymsgr:call?yahooidymsgr:callPhone?phonenumberymsgr:chatymsgr:imymsgr:customstatus?A+custom+statusymsgr:getimv?imvname