473,769 Members | 3,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
5 1484
In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, 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**********@h otmail.com> wrote in message
news:MP******** *************** @news.individua l.net...
In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, 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$Qv 1.9055@lakeread 03>, 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******@NOSPA M.comcast.net> wrote in message
news:MP******** *************** *@nntp.lucent.c om...
In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6166
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up the faults that might go with the suggestion... all opinions welcome. My question: I have a list of links that go to pages that have a similar layout. Could I have a text swap, similar to what I've seen with image swaps (or an image switch)...
5
1346
by: Henry | last post by:
HTML is an acronym for Hyper Text Markup Language. But why is it hyper? Too much java . . . http://takeoff.to/henry
2
1727
by: Mark Preston | last post by:
Its perhaps a bit early to ask, since I'm still doing the page design and haven't got down to the coding yet, but I wonder if anyone can help with a bit of a question. To lay the groundwork, a quick description of the template design for the pages:- 1. There will be a body section of the page consisting of a set of <div> layers. The top level layers will all have the same CSS class to ensure a common design look. 2. At the side or top...
2
8403
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when submitting the form to update the database. The server doesn't have the client side value any more. It seems to me that as I begin to write the client side javacript code for form validation and client side editing capabilities in order to save...
3
1272
by: Diana M | last post by:
Hello, I have started my first asp.net application (beginner). I have 2 text boxes on the form that should contain 2 different dates (beginning and end). It would be nice to have 2 small buttons besides each text box that allow to open little form with calendar. I came from VB world where we had arrays of controls, but here I can't make it. Should I have 2 controls with different names and write code twice in the button click event or...
1
2155
by: google1 | last post by:
Has anyone written this one? Seen such a thing? Please send me a link: Skill Testing Question Exploder --------------------------------------------- Basically the plan is to create the javascript powered form one can surf to to bypass cheating via Window calculator for Skill Testing Question tests. One simply copys the Skill Testing Question from the Contest Webpage
5
5663
by: Joh | last post by:
I'm using mailto to open up an email that have a hyperlink in the body. The hyperlink passes two variables Name and Emailadress. The problem is that only the first variable Name show up in the hyperlink. It seems that javascript takes the & as the end of the body where I use it to separate my variables. Anyone know how to deal with this? "<script...
1
1115
Frinavale
by: Frinavale | last post by:
Hi there! I'm not sure if this question should be posted under the .NET form or the JavaScript form...I just have a general question about JavaScript and .NET. I usually test my JavaScript in static web pages before adding it to my .NET application and I've noticed that if I manually create a static web page that uses JavaScript and then try to run it with Internet Explorer, Internet Explorer "blocks" my JavaScript content. When I...
6
1565
by: John | last post by:
Hello, I was thinking of trying out JavaScript and learn it on my own. I had a few questions though. Is it still popular with businesses today? Is JavaScript bad for search engine opt. (SEO)?
3
2551
by: Zhang Weiwu | last post by:
Hello! I wrote this: ..required-question p:after { content: "*"; } Corresponding HTML: <div class="required-question"><p>Question Text</p><input /></div> <div class="not-required-question"><p>Question Text</p><input /></div>
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.