Results 1 to 6 of 6

Thread: XP SP2 blocking my javascripts

  1. #1
    Join Date
    Sep 2004
    Location
    East Anglia, UK
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question XP SP2 blocking my javascripts

    I am a (very) amateur webmaster and have two sites that include simple javascripts: www.berkshirepigs.org.uk displays the date and www.shrublandpark.co.uk uses the HV menu from this site.

    Problem: WinXP SP2 causes IE to 'block' both these scripts. Curiously, they all work fine on this (and other) websites. What am I doing wrong, or not doing? Would appreciate some guidance.

    Regards,
    Richard Carter
    richard@rjcarter.net

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Richard,

    With SP2 on my computer, it will only prompt you to allow a script to run in an offline environment; if the problem still persists online, you should attempt to upgrade the scripts if possible.

    SP2 has its good points, but unfortunately due to Microsoft's power we can't ignore it... i've had to make a lot of scripts on my site redundant due to tightened security.

    Regards
    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Sep 2004
    Location
    East Anglia, UK
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks... I was hoping to avoid removing or editing the scripts.

    What I can't understand is why the exact same scripts work fine on sites such as this one! Has anyone looked at www.shrublandpark.co.uk, www.berkshirepigs.org.uk or www.rjcarter.net and noticed SP2's blocking of scripts? They are Ok on my pc, but that might be because I've already allowed the content once.

    Cheers,
    Richard

  4. #4
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Work around

    Here's a workaround. Add ...

    <!-- saved from url=(0013)about :internet -->

    ... just after your <HEAD> line.

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code:
    <!-- saved from url=(0013)about :internet -->
    edit: apparently it does work. *whacks head against wall*
    Erm, mwinter, care to back me up on this one? I swear those are SGML delimiters.

    edit2: I think we just found an Internet Explorer security exploit. Oh dear...

    Quote Originally Posted by myself before editing
    In no way could that possibly work. The fact that it is surrounded by <!-- and --> means the browser automatically ignores it. It is, in fact, a markup comment. Browsers never read them.
    cr3ative
    Last edited by cr3ative; 01-17-2005 at 07:17 PM.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  6. #6
    Join Date
    Sep 2004
    Location
    East Anglia, UK
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default It works!

    Perhaps cr3ative should test the theory before rubbishing it...

    The scripts are only blocked when I'm working offline, ie loading the site from my hard drive. The sites online are fine.

    This solution works perfectly - many thanks. Of course, it's not much more than a nuisance when I'm working offline, but this is worth knowing.

    Thanks,
    Richard

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •