File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes detect pop-ups and cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "detect pop-ups and cookies" Watch "detect pop-ups and cookies" New topic
Author

detect pop-ups and cookies

Tina Long
Ranch Hand

Joined: Mar 04, 2005
Posts: 36
I need a way to detect if a person had pop-ups and cookies enabled on their machine. I wrote a script that uses navigator.kookieEnabled to test for cookies - but I'm not sure how to detect for pop-ups. I don't want to have to create a popup and see if it works - if that's the only way then i'll do it - but is there a way to read the settings that they have in their browser?

If there is a way to do this without using javascript - i'd be much happier...I've just not figured that out yet...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
only way is to open one up....
Tina Long
Ranch Hand

Joined: Mar 04, 2005
Posts: 36
really? There's not a way to read the settings that the user has set in their browser or something?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: detect pop-ups and cookies