467,075 Members | 1,005 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

Question about Javascript

I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message:
<noscript>
<br>
<b> We have detected that your browser does not support Javascript or its
use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this
site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how
can I correct?

Thanks

Jim
Jul 23 '05 #1
  • viewed: 1300
Share:
5 Replies
In article <Aj0yc.10041$Qv1.9055@lakeread03>, Jim Simpson says...
I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message:
<noscript>
<br>
<b> We have detected that your browser does not support Javascript or its
use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this
site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how
can I correct?


If that's the exact message, with the HTML, that's not generated in your
browser is it? The Perl script that's connecting to the web site is
passing that to you - it's Perl that doesn't support JS, surely?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 23 '05 #2
Thanks Hywel for responding.

I'm not sure how to answer your question, but I think that message is coming
from the HTPPS web site I'm trying to access. I get it only when I try to
access a site that requires a password even though my Perl script lists the
proper password.

Jim

"Hywel" <hy**********@hotmail.com> wrote in message
news:MP***********************@news.individual.net ...
In article <Aj0yc.10041$Qv1.9055@lakeread03>, Jim Simpson says...
I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message: <noscript>
<br>
<b> We have detected that your browser does not support Javascript or its use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how can I correct?


If that's the exact message, with the HTML, that's not generated in your
browser is it? The Perl script that's connecting to the web site is
passing that to you - it's Perl that doesn't support JS, surely?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php

Jul 23 '05 #3
Lee
Jim Simpson said:

I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message:
<noscript>
<br>
<b> We have detected that your browser does not support Javascript or its
use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this
site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how
can I correct?


The site sends that message to everybody who hits it, regardless
of whether or not they have Javascript enabled.

Browsers that have Javascript enabled are expected to understand
that they should ignore anything in the <noscript> block.

If you're seeing normal content in addition to that block, then
you should ignore it. If there is also some Javascript code on
that page that redirects Javascript enabled browsers to another
page, then maybe the web site owner is trying to tell you that
he doesn't want you to use your password to open his site to all
of your friends.

Jul 23 '05 #4
In article <Aj0yc.10041$Qv1.9055@lakeread03>, ji********@cox.net
enlightened us with...
I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message:
<noscript>
<br>
<b> We have detected that your browser does not support Javascript or its
use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this
site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how
can I correct?


It isn't your browser that's accessing the site. It's the Perl client
you wrote. And Perl doesn't support javascript, so the site's check
fails.

browser -> (perl) -> other site
perl is the real client that is doing the http request of the other
site, not your browser.

--
--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #5
Thanks to all for the replies.

Jim
"kaeli" <ti******@NOSPAM.comcast.net> wrote in message
news:MP************************@nntp.lucent.com...
In article <Aj0yc.10041$Qv1.9055@lakeread03>, ji********@cox.net
enlightened us with...
I'm working with Perl and trying to write a Perl script that will access
sites
requiring a "password". Each time I run my code I get the following message: <noscript>
<br>
<b> We have detected that your browser does not support Javascript or its use is currently disabled. </b> <br>
Javascript must be enabled to properly present you several pages on this site, including "Your Portfolio".
<br> <br>
</noscript>

How can I find out if Javescript is enabled on my browser and if not how can I correct?


It isn't your browser that's accessing the site. It's the Perl client
you wrote. And Perl doesn't support javascript, so the site's check
fails.

browser -> (perl) -> other site
perl is the real client that is doing the http request of the other
site, not your browser.

--
--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Randell D. | last post: by
5 posts views Thread by Henry | last post: by
2 posts views Thread by Mark Preston | last post: by
3 posts views Thread by Diana M | last post: by
1 post views Thread by google1@eastontario.com | last post: by
5 posts views Thread by Joh | last post: by
3 posts views Thread by Zhang Weiwu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.