Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Internet Explorer SP2 blocks JavaScript?! (http://www.greenguysboard.com/board/showthread.php?t=11193)

metalkid 2004-09-16 04:17 AM

Internet Explorer SP2 blocks JavaScript?!
 
Anyone recognized that the updated IE in SP2 blocks all JavaScript with document.write by default?? Not even a fuckin' date script works...the surfer must abolish the block...
Anyone got experiences with that problem or any suggestions?
More and more XP users are updating these days...I don't want to change the dates in my fake tgp every day ;)

urb 2004-09-16 05:14 AM

I was thinking of removing a load of javascript from one site mainly because IE on XP SP2 is throwing up "Warnings" about it. :(

If you are worried about not being able to use javascript generated dates, then PHP can do all that for you and more using the date string.

PHP Code:

<?php
echo date("l dS of F Y h:i:s A");
?>

Or you could use Server Side Includes to do it.


metalkid 2004-09-16 05:45 AM

Quote:

Originally posted by urb
I was thinking of removing a load of javascript from one site mainly because IE on XP SP2 is throwing up "Warnings" about it. :(

If you are worried about not being able to use javascript generated dates, then PHP can do all that for you and more using the date string.

PHP Code:

<?php
echo date("l dS of F Y h:i:s A");
?>

Or you could use Server Side Includes to do it.


thanks I'll try that...but I've also some feeders on freehosts and there I think I'll change the date to something like 'Today's galleries'.... :)

Greenguy 2004-09-16 08:01 AM

I did the SP2 update a couple weeks ago & I can see Java as usual - I don't remember updating anything special this time, but I do remember having to go to java.com to get an update when I 1st set this system up.

metalkid 2004-09-16 08:05 AM

Quote:

Originally posted by Greenguy
I did the SP2 update a couple weeks ago & I can see Java as usual - I don't remember updating anything special this time, but I do remember having to go to java.com to get an update when I 1st set this system up.
sorry greenguy..but I mean JavaScript not JavaVM... :)

neticule 2004-09-16 08:27 AM

blah
 
I hope this doesnt effect javascript in dreamweaver! although i would imagine it does. I made a nice design with dropdown boxes and im pretty sure it uses javascript and dhtml, i hope they still will work for people with sp2!

Im still on ol' win98 but it works better then the others for me personally.

Greenguy 2004-09-16 09:19 AM

Call me a noob, but I don't know the differance between the 2 :D

I have 2 java things on here:
http://www.link-o-rama.com/greenguy/mlinks.htm
The ARS HSN Banner & the time stamp - both on the bottom - and they work fine for me :)

Cleo 2004-09-16 09:27 AM

JAVA is a programming language. You can do just about anything using JAVA including some really bad things. The computer company Sun Micro Systems came up with it. You need to have its virtual engine installed in order to run it.

JavaScript is a scripting language. Someone correct me if I'm wrong but I think the Netscape people came up with it and it was originally called EasySpeak.

ActiveX which is Windows only is the bad one that needs to just go away.

MadMax 2004-09-16 10:38 AM

This thing with SP2 and j/s threw me for a real loop about a week ago. What it looks like to me is this: SP2 will automatically block j/s on your local machine, i.e. when you hit F12 for 'preview' in dreamweaver. However it does NOT seem to automatically block j/s on web pages. And the distinction between JAVA and javascript (as cleo mentioned) is important.

Take that for what it's worth...I spent a couple hours sweating site revisions, then it was pointed out to me that the blocker was local only and that seems to be the case with my experience so far.

Useless 2004-09-16 10:48 AM

When I first loaded SP2 on a few days ago, that built-in MS firewall didn't want to to be disabled. Each time I'd reboot, it would enable itself. Plus, SP2 didn't like the fact that IE was not my default browser. Now, everything seems to be settled in and peachy.

Fonz 2004-09-16 10:49 AM

My entire banner rotating thing is JS based so I hope that SP2 doesn't fuck that up for the surfers...

urb 2004-09-16 11:55 AM

IE6 XP SP2 doesn't like "document.write" as metalkid said...

The problem is that "document.write" is one of the most common JavaScript commands. :(

RawAlex 2004-09-16 01:08 PM

It is because the "document.write" thing is the easiest way to put in a pop-up that a popup blocker won't block. it is also an easy way to put basically what would be "obscured" commands that could change the nature of the page.

That is how many spam pages attempt to hide their destinations, as well as hiding any malware they might be trying to download.

I hate it for the honest people who are suffering as a result, but I think it a good deal for the most part.

Bravo to Microsoft for finally appearing to get at least a little more serious about blocking the major ass holes in their systems.

Alex

Opti 2004-09-16 02:26 PM

Bravo to MS my ass.. SP2 default settings play havoc with lots of traditional coding techniques... I'm not surprised MS argued against setting some of these options as on by default so hard.


there is a great Check list here showing exactly what SP2 effects and how MS suggest "fixing" the issue on your website.


Fine-Tune Your Web Site for Windows XP Service Pack 2

Applies to:
Microsoft Active X controls
Microsoft Internet Explorer
Microsoft Outlook Express
Microsoft Windows XP Service Pack 2 (SP2)

Summary: Make your Web site work well with the new security features in Windows XP SP2 that affect ActiveX controls, file downloads, pop-up windows, and more. (7 printed pages)

Topics include:
Does Your Web Site Use Microsoft ActiveX Controls?
Does Your Web Site Allow Users to Download Files?
Does Your Web Site Use Pop-up Windows?
Does Your Web Site Depend on the Microsoft Java Virtual Machine (MSJVM)?
Browser Window Restrictions
General Tips

metalkid 2004-09-16 05:34 PM

@Opti

Thanks for the link...that gives me some clarity...

But the whole thing sucks a lot...I have to change some old sites now... |pissed|

DangerDave 2004-09-16 06:02 PM

Having just setup my fathers new PC with XP... I got a first hand look at what SP2 does.. and it's scary... :(

As default it blocked, cookies, referrers, pop-ups, new windows, etc etc....

It made surfing just about any site, that wasnt plain html, very hard..


It's time to write some instructions for those newbie surfers..:(

DD

RawAlex 2004-09-16 06:13 PM

opti, I read through the list, and I didn't see anything too scary in there. popups still work as "new windows" (user clicks a link). active-x is "prompt" with a new yellow prompt bar at the top of the window.

new windows now default to include address bar and such.

What is the biggest issue, because I am not seeing it as this point?

Alex

urb 2004-09-17 09:01 AM

Quote:

Originally posted by DangerDave

As default it blocked, cookies....

That's a real problem, especially for CCBill affiliates.

Remind me, wasn't it the Microsoft Corporation who invented ActiveX in the first place?

Tommy 2004-09-17 10:13 AM

this explains everything

I was just reading this and came to the board seen you guys talking about it and.....

http://www.pcmag.com/article2/0,1759,1647029,00.asp

bret 2004-09-17 07:05 PM

Quote:

Originally posted by urb
That's a real problem, especially for CCBill affiliates.

Remind me, wasn't it the Microsoft Corporation who invented ActiveX in the first place?

Yes, Microsoft created Active X. but what does that have to do with cookies?

GeorgeTH 2004-09-19 12:33 AM

Quote:

Originally posted by Fonz
My entire banner rotating thing is JS based so I hope that SP2 doesn't fuck that up for the surfers...
YES - it does!
My site advertising is completely banner/ad text rotation - - - and stuffed!
PLUS: I use the excellent overlib.js to display title, file- and update information for each and every of my pages I link to - now nobody can read anymore what's happening...

|acid BILL GATES + Microidiots!

metalkid 2004-09-19 06:02 AM

I just noticed that the remotely hosted tradescript xclicks will also be blocked...cause it uses the document.write...DAMN!... |banghead|
Anyone knows if ClickZs uses javascript with document.write?
I need a remotly hosted script cause I have some sites on freehosts....

urb 2004-09-19 07:03 AM

Quote:

Originally posted by bret
Yes, Microsoft created Active X. but what does that have to do with cookies?
I was just making the observation (separately) that Microsoft have released an update to protect people from the very software that Microsoft invented in the first place.


All times are GMT -4. The time now is 08:19 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc