Sensing Pop up Blockers

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Sensing Pop up Blockers

Post by dishmann »

Short and sweet.

I visited a friend (totaly computer idiotic)

Wanted to show off my new menu system.

Went to my Site and BAM No Menus ??????

My other javascript stuff worked ???????

It turns out his "Pop up blocker" allowed javascript (this was a user setting) but was blocking "javascript timers" (another user setting).

I turned off the script timer blocker and all was well.

Now for the questions:

would <NO_SCRIPT> work in this case ????

Is there another way, PHP/ASP/JS or otherwise, that I can tell if javascript is blocked so I can redirect (besides the <NO_SCRIPT> method) ?????

I do both WIN32 and UNIX

Thanx
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Andy will probably have to answer this one, but what browser and OS was he using?
John
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Post by dishmann »

He was running Win XP Home Browser=5.5+ or even 6.0 (I did not check)

Pretty much the latest and greatest
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

It IS possible, i think. Essentially you could create a timer that would set a variable to something in a couple milliseconds...in the mean time you set up a for loop of some sort that counts to say 5000 or more, hopefully in the short time that elapses, the timer has enough time to expire...if it does have enough time (based on your trials and guessing) but still doesn't set the variable, you know timers are disabled, so redirect or do whatever you want. I havent tried this, but its what I would try if I were in your situation.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Post by dishmann »

Sounds logical.

I'll try this out on a test page and report to you guys next time I visit him. (In a couple of weeks) I personally dont use pop-up blockers so this encounter was an unexpected learning experience.

Its a jungle out there. If any other potential solutions I might try "pop-up" [pun intended] please thread them in.

Thanx
Dishmann[/img]
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Try the Google toolbar. It blocks the popups for me and doesn't intefere with your pages either.

Stear clear of Symantec Internet Security though, not sure why but it adds code to disable JavaScript errors. Not good if you are tring to develop JavaScript :roll:

Cheers
Andy
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

My 2 cents: I use "Pop-Up Stopper" (http://www.panicware.com) and have never had it cause problems with the menus.

Kevin
Post Reply