Hi John,
> Am using identical localprefs.js and localaiases.txt files
> at the office and home. Set up at office seems to work
> flawlessly. No matter what alias I enter I get to Yahoo
> Mail at home. Running XP Pro at Office, XP Home at, well,
> home. IE 6 at both places. Any suggestions appreciated.
Your aliases all look fine.
The only thing I see which might be a problem is the <angle-brackets>
around the URL's you posted in your prefs. I *imagine* they were
placed by your email client. If not, remove them and try it again.
var yyid = Array("myid","mypass","<http://my.yahoo.com/>");
Should be:
var yyid = Array("myid","mypass","http://my.yahoo.com/");
(if your email reader *adds* angle brackets around my 'should be' line
url, remove them - that line contains neither "<" or ">")
Lastly, I've modified the yy search to include cookie handling - iow,
you can have a fourth option now to store a cookie if you so desire
(it defaults to doing so, now, as well). That modification is now
attached. New syntax for variables is as so:
Do not store Yahoo cookie:
var yyid = Array("myid","mypass","http://my.yahoo.com/","");
Store cookie:
var yyid = Array("myid","mypass","http://my.yahoo.com/","y");
or
var yyid = Array("myid","mypass","http://my.yahoo.com/");
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
Why are there Interstate highways in Hawaii?
<search function="yy">
<name>My Yahoo!</name>
<category>News</category>
<contributor>Shawn K. Hall</contributor>
<email>[EMAIL PROTECTED]</email>
<description>Login to My Yahoo
<div class="helpboxDescLabels">Example:</div>
<table class="helpboxDescTable">
<tr><td>yy</td></tr>
<tr><td>yy myid</td></tr>
<tr><td>yy myotherid</td></tr>
</table>
<div class="helpboxDescLabels">Variables:</div>
<table class="helpboxDescTable">
<tr><td>yyid ('user', 'pwd', 'url', 'storeCookie');</td><td>An array storing a user and password profile for Yahoo!
You SHOULD provide the <em>yyid()</em> variable, however, you may also provide as many other
profiles as necessary to account for your Yahoo ID's. If you were to create a 'second' profile
you would need only to pass the variable name on the command line: <br />
<strong>yy otherVariable</strong><br />
These variables are, however, case sensitive. If the variable passed does not exist (misspelled,
incorrect case...), this search will 'default' to using the <em>yyid</em> variable.</td></tr>
<tr><td><b>user</b> </td><td> Your Yahoo User ID (YahooID)</td></tr>
<tr><td><b>pwd</b> </td><td> Simple enough - your *plain text* yahoo password. <strong>This poses a security risk for your Yahoo account if your system is ever compromised</strong></td></tr>
<tr><td><b>url</b> </td><td> Page to load upon successful authentication. Options include just about any Yahoo site, including <a target="_blank" href="http://groups.yahoo.com/">http://groups.yahoo.com/</a>, <a target="_blank" href="http://notepad.yahoo.com/">http://notepad.yahoo.com/</a> or any other <a target="_blank" href="http://www.yahoo.com/">http://www.yahoo.com/</a> site (more at: <a target="_blank" href="http://docs.yahoo.com/docs/family/more.html">http://docs.yahoo.com/docs/family/more.html</a>).</td></tr>
<tr><td><b>storeCookie</b> </td><td> Store a persistent cookie 'session login' for your browser for ALL Yahoo services? VALID options are "y" (for "yes") and empty (""). This value DEFAULTS to "y".</td></tr>
</table>
</description>
<link>http://my.yahoo.com/</link>
<comment>
This is pretty spiffy, eh?
</comment>
<form name="yyf" method="post"
action="http://login.yahoo.com/config/login">
<input type="hidden" name=".tries" value="1" />
<input type="hidden" name=".src" value="ym" />
<input type="hidden" name=".md5" value="" />
<input type="hidden" name=".hash" value="" />
<input type="hidden" name=".js" value="" />
<input type="hidden" name=".last" value="2" />
<input type="hidden" name="promo" value="" />
<input type="hidden" name=".intl" value="us" />
<input type="hidden" name=".bypass" value="" />
<input type="hidden" name=".partner" value="" />
<input type="hidden" name=".v" value="0" />
<input type="hidden" name=".yplus" value="" />
<input type="hidden" name=".emailCode" value="" />
<input type="hidden" name="plg" value="" />
<input type="hidden" name="stepid" value="" />
<input type="hidden" name=".ev" value="" />
<input type="hidden" name="hasMsgr" value="0" />
<input type="hidden" name=".chkP" value="Y" />
<input type="hidden" name=".done" value="http://my.yahoo.com" />
<input type="hidden" name="login" value="" />
<input type="hidden" name="passwd" value="" />
<input type="hidden" name=".persistent" value="y" />
<input type="hidden" name=".save" value="Sign In" />
</form>
<script><![CDATA[
function yy(q){
if (q=="?"){
nullArgs("yy",q);
return false;
}
var yyids = yyid;
try{
eval("var yyids = " + q + ";");
}catch(e){
var yyids = yyid;
}
try{
document.yyf.login.value = yyids[0];
document.yyf.passwd.value = yyids[1];
if (yyids.length>2){
document.yyf['.done'].value = yyids[2];
if (yyids.length>3){
document.yyf['.persistent'].value = yyids[3];
}
}
}catch(e){}
submitForm(yyf);
}
]]></script>
<copyright>
Copyright (c) 2003 Shawn K. Hall
Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>