Question about Javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Simpson

    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


  • Hywel

    #2
    Re: Question about Javascript

    In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, Jim Simpson says...[color=blue]
    > 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?[/color]

    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


    Comment

    • Jim Simpson

      #3
      Re: Question about Javascript

      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" <hyweljenkins@h otmail.com> wrote in message
      news:MPG.1b32a8 def0de60f98978f @news.individua l.net...[color=blue]
      > In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, Jim Simpson says...[color=green]
      > > 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[/color][/color]
      message:[color=blue][color=green]
      > > <noscript>
      > > <br>
      > > <b> We have detected that your browser does not support Javascript or[/color][/color]
      its[color=blue][color=green]
      > > use is currently disabled. </b> <br>
      > > Javascript must be enabled to properly present you several pages on[/color][/color]
      this[color=blue][color=green]
      > > site, including "Your Portfolio".
      > > <br> <br>
      > > </noscript>
      > >
      > > How can I find out if Javescript is enabled on my browser and if not[/color][/color]
      how[color=blue][color=green]
      > > can I correct?[/color]
      >
      > 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[/color]


      Comment

      • Lee

        #4
        Re: Question about Javascript

        Jim Simpson said:[color=blue]
        >
        >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?[/color]

        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.

        Comment

        • kaeli

          #5
          Re: Question about Javascript

          In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, jimsimpson@cox. net
          enlightened us with...[color=blue]
          > 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?
          >[/color]

          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.



          Comment

          • Jim Simpson

            #6
            Re: Question about Javascript

            Thanks to all for the replies.

            Jim


            "kaeli" <tiny_one@NOSPA M.comcast.net> wrote in message
            news:MPG.1b3270 1bb2d5bc32989ee e@nntp.lucent.c om...[color=blue]
            > In article <Aj0yc.10041$Qv 1.9055@lakeread 03>, jimsimpson@cox. net
            > enlightened us with...[color=green]
            > > 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[/color][/color]
            message:[color=blue][color=green]
            > > <noscript>
            > > <br>
            > > <b> We have detected that your browser does not support Javascript or[/color][/color]
            its[color=blue][color=green]
            > > use is currently disabled. </b> <br>
            > > Javascript must be enabled to properly present you several pages on[/color][/color]
            this[color=blue][color=green]
            > > site, including "Your Portfolio".
            > > <br> <br>
            > > </noscript>
            > >
            > > How can I find out if Javescript is enabled on my browser and if not[/color][/color]
            how[color=blue][color=green]
            > > can I correct?
            > >[/color]
            >
            > 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
            >[/color]


            Comment

            Working...