<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Tms Rmn";
        panose-1:2 2 6 3 4 5 5 2 3 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/><u1:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I found Spidermonkey in the EPEL (Fedora
sponsored) repository:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>js-1.70-8.el5.i386.rpm<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>js-1.70-8.el5.x86_64.rpm<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>js-devel-1.70-8.el5.i386.rpm<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>js-devel-1.70-8.el5.x86_64.rpm<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I was able to download and install using
rpm then compile elinks from source to find the above. Running “elinks
–version” after that shows the ECMAScript support is compiled in to
the new elinks binary. Also setting various ecmas* flags in
the elinks.conf does have effect so clearly it is using them. (As
opposed to another system where I use the original RHEL5 provided elinks RPM –
it complains about the ecmas* stuff being invalid options.)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It appears that by default it has this
enabled but just for good measure I added:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>set ecmascript.enable = 1.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Despite that when I pull up the page I
see:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>“This product requires use of a
browser that supports JavaScript”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As a test I set the above to 0 on the off
chance it was backwards and saw the same thing.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I then set the following:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>set ecmascript.error_reporting = 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>On pulling up the page I now see a popup
box:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>“
JavaScript Error:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A script embedded in the current document raised
the <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> following exception:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>TypeError: Window.Focus is not a
function <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> OK”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That seems to suggest that despite the
earlier message about needing a browser that supports JavaScript that it is in
fact executing at least one JS but that it is getting an error. Can
anyone confirm that?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does anyone have any idea what I’d
need to do to deal with the Window.Focus message?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Essentially the site is a login page and
even though I am able to input username and password after opening in browser when
I tell it to POST it simply returns to the same login/password page.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Alternatively does anyone know a way I can
verify a site that is running JavaScript is actually responding properly from
command line rather than via a browser? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The SpiderMonkey stuff from Mozilla when
compiled into elinks is supposed to do that but given my results I’m not
sure if it is or not. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Most of the documentation I can find on
JavaScript stuff appears to be aimed at developers testing their own JS from
command line rather than accessing a web page with JavaScript.
Please don’t just point me at sites found in a Google search unless you
have used what you are pointing me at and can help me with examples because my
eyes are bleeding from looking at what Google has shown me so far.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
ale-bounces@ale.org [mailto:ale-bounces@ale.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Lightner, Jeff<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 06, 2011 1:57 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Atlanta
Linux Enthusiasts</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [ale] elinks with
Spidermonkey RHEL5</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Anyone running elinks with Spidermonkey on RHEL5 for Javascript/ECMAScript
access? If so can you let me know what you did to get it working?<u1:p></u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class=MsoNormal><b><font size=2 color=red face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:red;font-weight:bold'>__________________________________________________________________________________________</span></font></b><u2:p></u2:p><u1:p></u1:p><o:p></o:p></p>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'><ns0:PersonName u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z">Jeff
Lightner</ns0:PersonName> </span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>| <b><span style='font-weight:bold'>UNIX/Linux Administrator</span></b></span></font><strong><b><font
face=Tahoma><span style='font-family:Tahoma'> </span></font></b></strong><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>| </span></font><strong><b><font
face=Tahoma><span style='font-family:Tahoma'>DS Waters of America, Inc </span></font></b></strong><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>| <ST1:STREET u4:st="on"><ST1:ADDRESS u4:st="on"><ns0:Street u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><ns0:address u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><st1:Street u3:st="on"><st1:address u3:st="on"><st1:Street
w:st="on"><st1:address w:st="on">5660 New Northside Drive, Ste 250</st1:address></st1:Street></ns0:address></ns0:Street></ST1:ADDRESS></ST1:STREET></st1:address></st1:Street>
| <ST1:PLACE u4:st="on"><ST1:CITY u4:st="on"><ns0:place u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><ns0:City u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><st1:place u3:st="on"><st1:City u3:st="on"><st1:place
w:st="on"><st1:City w:st="on">Atlanta</st1:City></st1:place></ns0:City></st1:place></ST1:CITY></st1:City>,
<ST1:STATE u4:st="on"><ns0:State u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><st1:State u3:st="on"><st1:State
w:st="on">GA</st1:State></ns0:State></ST1:STATE></st1:State> <ST1:POSTALCODE u4:st="on"><ns0:PostalCode u3:insAuthor="Jeff Lightner" u3:insDate="2011-05-06T13:52:00Z" u3:endInsAuthor="Jeff Lightner" u3:endInsDate="2011-05-06T13:52:00Z"><st1:PostalCode u3:st="on"><st1:PostalCode
w:st="on">30328</st1:PostalCode></ns0:PostalCode></ST1:POSTALCODE></ST1:PLACE></st1:PostalCode></st1:place><b><span
style='font-weight:bold'> </span></b></span></font><font size=2><span
style='font-size:10.0pt'><br>
</span></font><font size=2 color=maroon face=Wingdings><span style='font-size:
10.0pt;font-family:Wingdings;color:maroon'>(</span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>:</span></font><font
size=2 face="Tms Rmn"><span style='font-size:10.0pt;font-family:"Tms Rmn"'> </span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>(Direct
Dial)</span></font><font size=2 face="Tms Rmn"><span style='font-size:10.0pt;
font-family:"Tms Rmn"'> </span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>678-486-3516</span></font><font
size=2 face="Tms Rmn"><span style='font-size:10.0pt;font-family:"Tms Rmn"'> |</span></font><font
size=2 color=maroon face=Wingdings><span style='font-size:10.0pt;font-family:
Wingdings;color:maroon'>(</span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>:</span></font><font size=2
face="Tms Rmn"><span style='font-size:10.0pt;font-family:"Tms Rmn"'> </span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>(Cell)</span></font><font
size=2 face="Tms Rmn"><span style='font-size:10.0pt;font-family:"Tms Rmn"'> </span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>678-772-0018
</span></font><font size=2 face="Tms Rmn"><span style='font-size:10.0pt;
font-family:"Tms Rmn"'>| </span></font><font size=2 color=maroon
face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;color:maroon'>*</span></font><font
size=2 color=maroon face="Tms Rmn"><span style='font-size:10.0pt;font-family:
"Tms Rmn";color:maroon'>:</span></font><font size=2 color=maroon face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:maroon'>jlightner@water.com</span><O:P></O:P></font><u1:p></u1:p><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Proud partner. Susan G. Komen for the Cure.</span></font> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><em><i><font size=1 color=green face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:green'>Please consider our
environment before printing this e-mail or attachments.</span></font></i></em> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>----------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential
information and is for the sole use of the intended recipient(s). If you are
not the intended recipient, any disclosure, copying, distribution, or use of
the contents of this information is prohibited and may be unlawful. If you have
received this electronic transmission in error, please reply immediately to the
sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span></font><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>