Re: [Lynx-dev] Problems with logging into the Bank of America website

2006-01-16 Thread Thomas Dickey
On Sun, Jan 15, 2006 at 11:42:25PM -0500, Leslie Fairall wrote:
 Ok, here is the lynx.trace. Hope this will help.

that was too large for the mailing list (128k max).  You could have
compressed it, but since the contents may be sensitive, I wouldn't
recommend that either.

However, the answer is in the trace - it's using javascript, and lynx
is not responding to that.

For instance

 function create_button(text, href, css_class, onclick_evt, onmouseover_evt, 
 onmouseout_evt, tabindex)
  {
var t = ;
if (( document.getElementById )||( document.all ))
{
   // browser implements part of W3C DOM HTML
   // Gecko, Internet Explorer 5+, Opera 5+
   // Internet Explorer 4 or Opera with IE user agent
   t = div class= + css_class + a title=\ + text + \ 
   href=\ + href + \ class= + css_class
 +  onFocus='hover(this, \ + css_class + -over\)'
 +  onBlur='hover(this, \ + css_class + \)';
 
   if (onclick_evt) { t = t +  onClick=\ + onclick_evt + 
   \; }
   if (onmouseover_evt) { t = t +  onMouseOver=\ + 
   onmouseover_evt + \; }
   if (onmouseout_evt) { t = t +  onMouseOut=\ + 
   onmouseout_evt + \; }
   if (tabindex) { t = t +  tabindex=\ + tabindex + \; }
   t = t +  + text + \/a\/div;
 
   }
else
{
   // Netscape 4
   t = table border=0 cellpadding=0 cellspacing=0 
   summary=\\ class= + css_class + trtd width=2 
   rowspan=2 class= + css_class + -leftimg 
   src=\images/clr.gif\ alt=\\ width=2 height=2\/tdtd 
   class= + css_class + -topimg src=\images/clr.gif\ 
   alt=\\ width=1 height=2\/tdtd width=2 rowspan=3 
   class= + css_class + -rightimg src=\images/clr.gif\ 
   alt=\\ width=2 height=2\/td\/trtrtddiv class= + 
   css_class + style=\padding: 1px 3px 1px 3px;\a 
   title=\ + text + \ href=\ + href + \ class= + 
   css_class
 +  onFocus='hover(this, \ + css_class + -over\)'
 +  onBlur='hover(this, \ + css_class + \)';
 
   if (onclick_evt) { t = t +  onClick=\ + onclick_evt + 
   \; }
   if (onmouseover_evt) { t = t +  onMouseOver=\ + 
   onmouseover_evt + \; }
   if (onmouseout_evt) { t = t +  onMouseOut=\ + 
   onmouseout_evt + \; }
   if (tabindex) { t = t +  tabindex=\ + tabindex + \; }
   t = t +  + text + \/a\/div\/td\/trtrtd 
   colspan=2 class= + css_class +  -rightimg 
   src=\images/clr.gif\ alt=\\ width=1 
   height=2\/td\/tr\/table;
   }
   document.write(t);
  }
 
  function hover(ref, classRef) { eval(ref).className = classRef; }
 
 
 
 var platform= navigator.platform.toLowerCase(); // Operating system
 var appName = navigator.appName;// Browser name
 var appVer= parseInt(navigator.appVersion); // Browser versionnumber
 
 // set the correct style sheet for the browser
 function checkBrowser(doc)
 {
 if (platform.indexOf(win) != -1)  // Windows platform
 {
 if (appName == Netscape  appVer = 5) // Netscape 6.x
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_ns6.css');
 }
 else if (appName == Netscape  appVer = 4) // Netscape 4
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_ns4.css');
 }
 else if (appName == Microsoft Internet Explorer  appVer = 4  
 navigator.appVersion .indexOf(MSIE 4) != -1) // IE 4.x
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_ie4.csss');
 }
 else if (appName == Microsoft Internet Explorer  appVer = 4) 
 // IE 4.x +
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_ie.css');
 }
 else if (appName == Opera)  // Opera 5.x, 6.x
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_opera.css');
 }
 else  // All other win browsers
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/win_ie.css');
 }
 }
 else if (platform.indexOf(mac) != -1)// Mac platform
 {
 if (appName == Netscape  appVer = 5) // Netscape 6.x
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/mac_ns6.css');
 }
 else if (appName == Netscape  appVer = 4) // Netscape 4
 {
 doc.writeln('link rel=stylesheet type=text/css 
 href=/eas-docs/images/mac_ns4.css');
 }
   

Re: [Lynx-dev] Problems with logging into the Bank of America website

2006-01-15 Thread Thomas Dickey
On Sun, Jan 15, 2006 at 04:55:25PM -0500, Leslie Fairall wrote:
 I used to be able to log into online banking with Bank of America using 
 the user-agent header:
 
 Mozilla/6.2 [lynx]
 
 However, after I click on the refresh page, I get the message:
 
 
REFRESH(8 sec):
[1]https://sitekey.bankofamerica.com/sas/signon.do?detect=0
Bank of America Higher Standards Online Banking [EMBED]

Perhaps it's diving into some javascript (I can't tell just from this).
Going to that URL and accepting the cookie, I get a screen that looks
like this:

   Bank of America

  Please tell us where you bank so we can give you information for your
  location.


   [Select location_]
  Go

   Bank of America, N.A. Member FDIC. Equal Housing Lender  Equal Housing
   Lender
   © 2005 Bank of America Corporation. All rights reserved.


-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


[Lynx-dev] Problems with logging into the Bank of America website

2006-01-15 Thread Leslie Fairall
I used to be able to log into online banking with Bank of America using 
the user-agent header:


Mozilla/6.2 [lynx]

However, after I click on the refresh page, I get the message:


   REFRESH(8 sec):
   [1]https://sitekey.bankofamerica.com/sas/signon.do?detect=0
   Bank of America Higher Standards Online Banking [EMBED]

References

   1. https://sitekey.bankofamerica.com/sas/signon.do?detect=0

   Error 500: User Agent [Mozilla/6.2] Exception Message null

   REFRESH(8 sec):
Can someone tell me what the problem is? Thanks.



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev