473,471 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Sep 5 '08 #1
4 1957
..oO(sa*************@googlemail.com)
>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.
>the object what i need to indicate if they are deactivate are:
Session Cache,
not possible
>Browser Name,
Full Version,
unreliable (maybe with JS)
>Cookies Enabled,
JS or server-side (set cookie, redirect, check if cookie is there).
>Popups Blocked,
Image Enabled,
PNG Supported,
Frames Supported,
Iframes Supported,
should not be possible
>Adobe Acrobat Installed,
Adobe Acrobat Version,
JS
>Proxy Used,
unreliable
>JavaScript Supported,
JS, 'noscript'
>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
Sep 5 '08 #2
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!
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
>
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


Sep 5 '08 #3
sa*************@googlemail.com wrote:
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.
js*******@attglobal.net
==================

Sep 5 '08 #4
sa*************@googlemail.com wrote:
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.
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.
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.
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
Sep 7 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ScottyBaby | last post by:
Hi, I've run into a curious problem with MS SQL Server 8.0. Using sp_help and SQL Query Analyzer's object browser to view the columns returned by a view, I find that sp_help is reporting stale...
10
by: Greener | last post by:
Hi, I need help badly. Can you do client-side programming instead of server-side to capture the Browser type info? If this is the case, what's wrong with the following? <script...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
8
by: R. Smits | last post by:
I've have got this script, the only thing I want to be changed is the first part. It has to detect IE version 6 instead of just "Microsoft Internet Explorer". Can somebody help me out? I tried...
7
by: phal | last post by:
Hi I think there are many different browsers to browse to the Internet, how can I write the javascript to identify different browser and display according to the users. Some browser disable the...
15
by: tshad | last post by:
I was looking for a way to handle refreshes (user pressed refresh button) and found a piece of code to check if a Web page was refreshed but I can't get it to work. The code is:...
16
by: petermichaux | last post by:
Hi, Does anyone have a a cross-browser setOpacity function that does not use browser sniffing? I looked at the Yahoo! UI function and it detects IE by looking for window.ActiveXObject. I also...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.