
September 5th, 2008, 07:55 PM
| | | Browser Object
Hi,
i hope u can help me. i need to indicate with javascript or php, which
objects in the browser "IE, Mozilla etc" are deactivate.
example:
Popups Blocked, please activate the popups!
the object what i need to indicate if they are deactivate are:
Session Cache,
Browser Name,
Full Version,
Cookies Enabled,
Popups Blocked,
Image Enabled,
PNG Supported,
Frames Supported,
Iframes Supported,
Adobe Acrobat Installed,
Adobe Acrobat Version,
Proxy Used,
JavaScript Supported,
JavaScript Enabled,
JavaScript Version,
JavaScript Build,
Browser Date Time,
thanks for ur support :)
best wishes,
sarmad | 
September 5th, 2008, 08:25 PM
| | | Re: Browser Object
..oO(sarmad.alsaiegh@googlemail.com) Quote:
>i hope u can help me. i need to indicate with javascript or php, which
>objects in the browser "IE, Mozilla etc" are deactivate.
>example:
>Popups Blocked, please activate the popups!
| Such things shouldn't be of any interest to you, it's the decision of
the browser and its user. Quote:
>the object what i need to indicate if they are deactivate are:
>Session Cache,
| not possible Quote:
>Browser Name,
>Full Version,
| unreliable (maybe with JS) JS or server-side (set cookie, redirect, check if cookie is there). Quote:
>Popups Blocked,
>Image Enabled,
>PNG Supported,
>Frames Supported,
>Iframes Supported,
| should not be possible Quote:
>Adobe Acrobat Installed,
>Adobe Acrobat Version,
| JS unreliable JS, 'noscript' Quote:
>JavaScript Enabled,
>JavaScript Version,
>JavaScript Build,
>Browser Date Time,
| JS, but rather useless
What are you trying to do, BTW? Most of these informations, if they can
be gathered at all, are of no interest and of no real use for the web
author.
Micha | 
September 5th, 2008, 09:55 PM
| | | Re: Browser Object
Hi, Quote:
i hope u can help me. i need to indicate with javascript or php, which
objects in the browser "IE, Mozilla etc" are deactivate.
example:
Popups Blocked, please activate the popups!
| Wow! You actually want to write code that will ask people to do that
sort of thing for all those?
I mean no offense, but the list not only doesn't make sense, but as
soon as a site tells ME I have to activate popups, I'm gone! It was the
author's decision to try to force that on me, and it's my decision
whether I'll allow it to happen or not. You wouldn't see my IP more
than once, I'm afraid.
FWIW; I suppose some would try, but I can't see many people putting up
with that. If they have images blocked, they did it for a reason, etc.,
etc.. Most people wouldn't know what to do about most of those anyway.
Still no offense intended, please, understand I'm only sharing an
opinion, but the other thing that makes me leave a site is anything
covert going on. If I discover it and didn't authorize it, I'm gone
again. It's my machine and I'm the only one to decide what happens on
it.
If you're PO'd, then sorry; just trying to enlighten you a little. I
wouldn't exactly call those site enhancing moves. Even if this were
meant as some sort of site-fixing or setup methodology, IMO it's still a
terrible idea.
So, just what is the intent of all that? I'm real curious, assuming
it's a legit idea you have in mind. If not, forget it; I don't care.
HTH Quote:
>
the object what i need to indicate if they are deactivate are:
Session Cache,
Browser Name,
Full Version,
Cookies Enabled,
Popups Blocked,
Image Enabled,
PNG Supported,
Frames Supported,
Iframes Supported,
Adobe Acrobat Installed,
Adobe Acrobat Version,
Proxy Used,
JavaScript Supported,
JavaScript Enabled,
JavaScript Version,
JavaScript Build,
Browser Date Time,
>
thanks for ur support :)
best wishes,
sarmad
| | 
September 5th, 2008, 10:25 PM
| | | Re: Browser Object sarmad.alsaiegh@googlemail.com wrote: Quote:
Hi,
i hope u can help me. i need to indicate with javascript or php, which
objects in the browser "IE, Mozilla etc" are deactivate.
example:
Popups Blocked, please activate the popups!
>
the object what i need to indicate if they are deactivate are:
Session Cache,
Browser Name,
Full Version,
Cookies Enabled,
Popups Blocked,
Image Enabled,
PNG Supported,
Frames Supported,
Iframes Supported,
Adobe Acrobat Installed,
Adobe Acrobat Version,
Proxy Used,
JavaScript Supported,
JavaScript Enabled,
JavaScript Version,
JavaScript Build,
Browser Date Time,
>
thanks for ur support :)
best wishes,
sarmad
>
| You can't do it in PHP. PHP is server side and has no idea what the
browser has available or not.
You could see if javascript is active with AJAX or similar, but
otherwise you have to rely on a client-side language such as javascript
to determine anything from the client side.
Try comp.lang.javascript.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | 
September 7th, 2008, 10:25 AM
| | | Re: Browser Object sarmad.alsaiegh@googlemail.com wrote: Quote:
Hi,
i hope u can help me. i need to indicate with javascript or php, which
objects in the browser "IE, Mozilla etc" are deactivate.
example:
Popups Blocked, please activate the popups!
| Don't count on getting anyone to come to your site, if this is how you
go about things. Quote:
the object what i need to indicate if they are deactivate are:
Session Cache,
Browser Name,
Full Version,
| If you're capable of writing decent JS, there's no reason you should
need the build or version. Quote:
Cookies Enabled,
Popups Blocked,
Image Enabled,
PNG Supported,
Frames Supported,
Iframes Supported,
Adobe Acrobat Installed,
Adobe Acrobat Version,
Proxy Used,
JavaScript Supported,
JavaScript Enabled,
| The <noscripttag offers content when JS is not available.
Just as a side note, don't probe the browser's UA with JS, if you want
to determine which features are available, you need to use the much
more reliable object detection. Quote:
JavaScript Version,
JavaScript Build,
Browser Date Time,
>
thanks for ur support :)
best wishes,
sarmad
| As stated before, most of this information is not retrievable in PHP,
it only knows what the browser sends in the request headers. A lot of
this information isn't retrievable in JS either. However, the majority
of the information you want is quite irrelevant to the Web developer.
--
Curtis |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |