IE6 SP2 annoying

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mark | r

    #1

    IE6 SP2 annoying

    how do i automatically trigger functions like displaydate() in SP2 without
    getting that annoying security error.

    i use things like these almost every time on sites (see www.sicl.co.uk for
    my latest :) and its doing my head in.

    mark


  • Martin Honnen

    #2
    Re: IE6 SP2 annoying



    mark | r wrote:
    [color=blue]
    > how do i automatically trigger functions like displaydate() in SP2 without
    > getting that annoying security error.[/color]

    What does displaydate do (or try to do)?

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • kaeli

      #3
      Re: IE6 SP2 annoying

      In article <413f38e5$0$158 59$cc9e4d1f@new s.dial.pipex.co m>,
      markrush@gmail. com enlightened us with...[color=blue]
      > how do i automatically trigger functions like displaydate() in SP2 without
      > getting that annoying security error.
      >[/color]

      I couldn't find that function in standard JScript or in
      ECMAScript/javascript.

      Is it a function you've written?

      And *which* SP2? I assume Windows is the OS, but the actual OS? If so...
      XP, 2K, 98...?
      Or did you mean a version of MSIE? IE6, IE5? Be more clear.

      FWIW, I have Win2K Pro with IE6 with all SPs up to date here at work, and
      when loading
      Koris365 is a UK based IT Managed Service Provider helping customers achieve better outcomes through technology

      I get no error.

      --
      --
      ~kaeli~
      Well, aren't we just a flipping ray of sunshine?



      Comment

      • Grant Wagner

        #4
        Re: IE6 SP2 annoying

        kaeli wrote:
        [color=blue]
        > In article <413f38e5$0$158 59$cc9e4d1f@new s.dial.pipex.co m>,
        > markrush@gmail. com enlightened us with...[color=green]
        > > how do i automatically trigger functions like displaydate() in SP2 without
        > > getting that annoying security error.[/color]
        >
        > And *which* SP2? I assume Windows is the OS, but the actual OS? If so...
        > XP, 2K, 98...?
        > Or did you mean a version of MSIE? IE6, IE5? Be more clear.[/color]

        I'm assuming the OP means Windows XP Service Pack 2, which contains a number of
        security enhancements to Internet Explorer not (yet/ever?) available in any
        other version of Windows.
        [color=blue]
        > FWIW, I have Win2K Pro with IE6 with all SPs up to date here at work, and
        > when loading
        > http://www.sicl.co.uk
        > I get no error.[/color]

        I loaded it in Internet Explorer 6 in Windows XP Service Pack 2 and got no
        errors or warnings about potential security problems, which seems to indicate
        the problem is related to a specific configuration of the security settings in
        Internet Explorer (or Windows XP). I _did_ disable the Security Centre, it's
        possible his anti-virus or firewall (both monitored by the Security Centre) are
        noticing something odd and reporting on it. Whatever the case, it would have to
        be something pretty darn odd for the Security Centre in Windows XP Service Pack
        2 to be complaining about it.

        To the OP: <url: http://www.microsoft.com/windowsxp/s...eoverview.mspx /> and
        <url:
        http://www.microsoft.com/technet/pro.../sp2brows.mspx />
        might be valuable to you. They list the changes in Internet Explorer which could
        (potentially) affect your site(s).

        --
        Grant Wagner <gwagner@agrico reunited.com>
        comp.lang.javas cript FAQ - http://jibbering.com/faq

        Comment

        • mark | r

          #5
          Re: IE6 SP2 annoying

          document.writes the date onto the page.

          a leaner example is when you try to hide email addresses see
          www.silver-jewellery-2u.co.uk (holding site)

          it complains because it calls a function.

          mark

          "Martin Honnen" <mahotrash@yaho o.de> wrote in message
          news:413f3a15$0 $28463$9b4e6d93 @newsread4.arco r-online.net...[color=blue]
          >
          >
          > mark | r wrote:
          >[color=green]
          >> how do i automatically trigger functions like displaydate() in SP2
          >> without getting that annoying security error.[/color]
          >
          > What does displaydate do (or try to do)?
          >
          > --
          >
          > Martin Honnen
          > http://JavaScript.FAQTs.com/[/color]


          Comment

          • Grant Wagner

            #6
            Re: IE6 SP2 annoying

            I tested that page in IE 6.0.2800.1106.x psp2.030422-1633 and IE
            6.0.2900.2180.x psp_sp2_rtm.040 803-2158. I got no error/warning in either
            browser.

            Is the error you receive an actual JScript error (yellow ! in the bottom
            right corner)? Or is it writing something into the document? Or popping
            up a separate dialog entirely (unrelated to script errors in IE)? What
            does the exact error say? When you View -> Source, is the source you
            expect to be there actually there? Some Internet Security software may be
            (re)writing JavaScript to incoming pages that is interfering with what
            you are trying to do.

            Also, I believe this is invalid HTML:

            <a href="thanks.as p" onclick="hemail ()"><script type="text/javascript">
            <!--
            hemailadd()
            //-->
            </script><noscrip t>Sterling Silver Jewellery</noscript></a>

            The <script> tag can appear inside <a>, but <noscript> can not. Besides,
            even if it works as written, it makes no sense. If <noscript> is rendered
            because scripting is unavailable, then the onclick event won't fire on
            the <a> either. All that will happen if someone clicks the link is they
            will get to "thanks.asp " without ever having their default E-mail client
            open. Even if scripting is available, there is no guarantee someone has a
            default E-mail client, or if they do have one, that it is correctly
            configured to send E-mail. "mailto:" is a bad choice for a professional
            Web site, you are much better off with a feedback form and handle sending
            the E-mail server side (this will also solve your problem of "hiding" the
            E-mail address). If you insist on using mailto:, the following makes more
            sense:

            <noscript>
            To be notified of the launch of our new web site please keep coming back
            here, because I am using mailto: and I'm trying to hide the E-mail
            address so I can't give people without client-side scripting ability an
            E-mail link. If I had used a form and sent the Web E-mail server-side,
            I'd care about you, but as it is, we don't need your business.
            </noscript>
            <script type="text/javascript">
            document.write(
            'To be notified of the launch' +
            ' of our new web site please' +
            ' send an email to' +
            '<strong><a href="mail' +
            'to:' +
            'info@' +
            'silver-jewellery' +
            '-2u.co.uk'
            '"'>info@' +
            'silver-jewellery' +
            '-2u.co.uk' +
            '</a></strong>'
            );
            </script>

            mark | r wrote:
            [color=blue]
            > document.writes the date onto the page.
            >
            > a leaner example is when you try to hide email addresses see
            > www.silver-jewellery-2u.co.uk (holding site)
            >
            > it complains because it calls a function.
            >
            > mark
            >
            > "Martin Honnen" <mahotrash@yaho o.de> wrote in message
            > news:413f3a15$0 $28463$9b4e6d93 @newsread4.arco r-online.net...[color=green]
            > >
            > >
            > > mark | r wrote:
            > >[color=darkred]
            > >> how do i automatically trigger functions like displaydate() in SP2
            > >> without getting that annoying security error.[/color]
            > >
            > > What does displaydate do (or try to do)?[/color][/color]

            --
            Grant Wagner <gwagner@agrico reunited.com>
            comp.lang.javas cript FAQ - http://jibbering.com/faq

            Comment

            • mark | r

              #7
              Re: IE6 SP2 annoying

              a useful tip. thanks

              mark

              "Grant Wagner" <gwagner@agrico reunited.com> wrote in message
              news:4140BAE7.1 B0F4FFB@agricor eunited.com...[color=blue]
              >I tested that page in IE 6.0.2800.1106.x psp2.030422-1633 and IE
              > 6.0.2900.2180.x psp_sp2_rtm.040 803-2158. I got no error/warning in either
              > browser.
              >
              > Is the error you receive an actual JScript error (yellow ! in the bottom
              > right corner)? Or is it writing something into the document? Or popping
              > up a separate dialog entirely (unrelated to script errors in IE)? What
              > does the exact error say? When you View -> Source, is the source you
              > expect to be there actually there? Some Internet Security software may be
              > (re)writing JavaScript to incoming pages that is interfering with what
              > you are trying to do.
              >
              > Also, I believe this is invalid HTML:
              >
              > <a href="thanks.as p" onclick="hemail ()"><script type="text/javascript">
              > <!--
              > hemailadd()
              > //-->
              > </script><noscrip t>Sterling Silver Jewellery</noscript></a>
              >
              > The <script> tag can appear inside <a>, but <noscript> can not. Besides,
              > even if it works as written, it makes no sense. If <noscript> is rendered
              > because scripting is unavailable, then the onclick event won't fire on
              > the <a> either. All that will happen if someone clicks the link is they
              > will get to "thanks.asp " without ever having their default E-mail client
              > open. Even if scripting is available, there is no guarantee someone has a
              > default E-mail client, or if they do have one, that it is correctly
              > configured to send E-mail. "mailto:" is a bad choice for a professional
              > Web site, you are much better off with a feedback form and handle sending
              > the E-mail server side (this will also solve your problem of "hiding" the
              > E-mail address). If you insist on using mailto:, the following makes more
              > sense:
              >
              > <noscript>
              > To be notified of the launch of our new web site please keep coming back
              > here, because I am using mailto: and I'm trying to hide the E-mail
              > address so I can't give people without client-side scripting ability an
              > E-mail link. If I had used a form and sent the Web E-mail server-side,
              > I'd care about you, but as it is, we don't need your business.
              > </noscript>
              > <script type="text/javascript">
              > document.write(
              > 'To be notified of the launch' +
              > ' of our new web site please' +
              > ' send an email to' +
              > '<strong><a href="mail' +
              > 'to:' +
              > 'info@' +
              > 'silver-jewellery' +
              > '-2u.co.uk'
              > '"'>info@' +
              > 'silver-jewellery' +
              > '-2u.co.uk' +
              > '</a></strong>'
              > );
              > </script>
              >
              > mark | r wrote:
              >[color=green]
              >> document.writes the date onto the page.
              >>
              >> a leaner example is when you try to hide email addresses see
              >> www.silver-jewellery-2u.co.uk (holding site)
              >>
              >> it complains because it calls a function.
              >>
              >> mark
              >>
              >> "Martin Honnen" <mahotrash@yaho o.de> wrote in message
              >> news:413f3a15$0 $28463$9b4e6d93 @newsread4.arco r-online.net...[color=darkred]
              >> >
              >> >
              >> > mark | r wrote:
              >> >
              >> >> how do i automatically trigger functions like displaydate() in SP2
              >> >> without getting that annoying security error.
              >> >
              >> > What does displaydate do (or try to do)?[/color][/color]
              >
              > --
              > Grant Wagner <gwagner@agrico reunited.com>
              > comp.lang.javas cript FAQ - http://jibbering.com/faq
              >[/color]


              Comment

              Working...