Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old September 5th, 2008, 07:55 PM
sarmad.alsaiegh@googlemail.com
Guest
 
Posts: n/a
Default 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
  #2  
Old September 5th, 2008, 08:25 PM
Michael Fesser
Guest
 
Posts: n/a
Default 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)
Quote:
>Cookies Enabled,
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
Quote:
>Proxy Used,
unreliable
Quote:
>JavaScript Supported,
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
  #3  
Old September 5th, 2008, 09:55 PM
Twayne
Guest
 
Posts: n/a
Default 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


  #4  
Old September 5th, 2008, 10:25 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default 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
==================

  #5  
Old September 7th, 2008, 10:25 AM
Curtis
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles