473,396 Members | 2,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Browsercaps

Someone knows where I can find a good explanation about browsercaps?
I want Firefox to as an up-level browser.
The default rendering is bad with Firefox when using ASp.NET.
Jan 21 '07 #1
3 2008
I tried this http://slingfive.com/pages/code/browserCaps/

but it does not work

So what I have to do is detect the browser from the vbscript and resize the
objects myself.

what a pain!

someone has a comment on this?

"Jman" <jm*******@hotmail.comwrote in message
news:YQ******************@weber.videotron.net...
Someone knows where I can find a good explanation about browsercaps?
I want Firefox to as an up-level browser.
The default rendering is bad with Firefox when using ASp.NET.

Jan 21 '07 #2
re:
but it does not work
Maybe it doesn't work because that code detects Firefox 1.0, not FF 2.0.

"Note: I've tested it with Netscape 6 & 7,
Mozilla Firebird/Firefox 0.7-1.0, Konqueror, Safari, and Opera 6-8."

You'll need to add FF 2-specific detection.

Here's what FF 2.0 returns when I identify it on my OS :

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

a. Browser = Firefox
b. Version = 2.0
c. MajorVersion = 2
d. MinorVersion = 0
e. Platform = WinNT
f. EcmaScriptVersion = 1.4
g. Type = Firefox2.0
h. TagWriter = System.Web.UI.HtmlTextWriter
a. ActiveXControls = False
b. AOL = False
c. BackgroundSounds = True
d. Beta = False
e. Browser = Firefox
f. CDF = False
g. ClrVersion = 0.0
h. Cookies = True
i. Crawler = False
j. EcmaScriptVersion = 1.4
k. Frames = True
l. JavaApplets = True
m. JavaScript = True
n. MajorVersion = 2
o. MinorVersion = 0
p. MSDomVersion = 0.0
q. Platform = WinNT
r. Tables = True
s. TagWriter = System.Web.UI.HtmlTextWriter
t. Type = Firefox2.0
u. VBScript = False
v. Version = 2.0
w. W3CDomVersion = 1.0
x. Win16 = False
y. Win32 = True

You'll have to incorporate that info into a FF 2-specific browser identification, like the one
http://slingfive.com/pages/code/brow...aps_spaces.txt
has for Firefox 0.7-1.0.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Jman" <jm*******@hotmail.comwrote in message news:CA*******************@weber.videotron.net...
>I tried this http://slingfive.com/pages/code/browserCaps/

but it does not work

So what I have to do is detect the browser from the vbscript and resize the objects myself.

what a pain!

someone has a comment on this?

"Jman" <jm*******@hotmail.comwrote in message news:YQ******************@weber.videotron.net...
>Someone knows where I can find a good explanation about browsercaps?
I want Firefox to as an up-level browser.
The default rendering is bad with Firefox when using ASp.NET.



Jan 21 '07 #3
read this
http://firefox.codebetter.com/blogs/...29/128623.aspx

you can add browsercaps and not everything will be good
better resize the object userself when it is not IE

if you have an internal project to the company make sure your users use IE.
Firefox is not good enough

asp.net tables in firefox is a nightmare.

viva IE!

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:Ol**************@TK2MSFTNGP05.phx.gbl...
re:
>but it does not work

Maybe it doesn't work because that code detects Firefox 1.0, not FF 2.0.

"Note: I've tested it with Netscape 6 & 7,
Mozilla Firebird/Firefox 0.7-1.0, Konqueror, Safari, and Opera 6-8."

You'll need to add FF 2-specific detection.

Here's what FF 2.0 returns when I identify it on my OS :

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1)
Gecko/20061010 Firefox/2.0

a. Browser = Firefox
b. Version = 2.0
c. MajorVersion = 2
d. MinorVersion = 0
e. Platform = WinNT
f. EcmaScriptVersion = 1.4
g. Type = Firefox2.0
h. TagWriter = System.Web.UI.HtmlTextWriter
a. ActiveXControls = False
b. AOL = False
c. BackgroundSounds = True
d. Beta = False
e. Browser = Firefox
f. CDF = False
g. ClrVersion = 0.0
h. Cookies = True
i. Crawler = False
j. EcmaScriptVersion = 1.4
k. Frames = True
l. JavaApplets = True
m. JavaScript = True
n. MajorVersion = 2
o. MinorVersion = 0
p. MSDomVersion = 0.0
q. Platform = WinNT
r. Tables = True
s. TagWriter = System.Web.UI.HtmlTextWriter
t. Type = Firefox2.0
u. VBScript = False
v. Version = 2.0
w. W3CDomVersion = 1.0
x. Win16 = False
y. Win32 = True

You'll have to incorporate that info into a FF 2-specific browser
identification, like the one
http://slingfive.com/pages/code/brow...aps_spaces.txt
has for Firefox 0.7-1.0.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Jman" <jm*******@hotmail.comwrote in message
news:CA*******************@weber.videotron.net...
>>I tried this http://slingfive.com/pages/code/browserCaps/

but it does not work

So what I have to do is detect the browser from the vbscript and resize
the objects myself.

what a pain!

someone has a comment on this?

"Jman" <jm*******@hotmail.comwrote in message
news:YQ******************@weber.videotron.net.. .
>>Someone knows where I can find a good explanation about browsercaps?
I want Firefox to as an up-level browser.
The default rendering is bad with Firefox when using ASp.NET.




Jan 22 '07 #4

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

Similar topics

10
by: Jason Collins | last post by:
There are some Requests that occur that have a NULL UserAgent. Some of these are legitimate crawlers (e.g., Overture's crawler), and I'm attempting to adjust my <browserCaps> to correctly classify...
0
by: Earl Teigrob | last post by:
I am looking for updated code for the browsercaps section of machine.config(or webconfig) that that adds support for non-microsoft browsers. I have read about http://www.cyscape.com/browsercaps/...
1
by: Andy Emmerson via .NET 247 | last post by:
Hi I am looking to write a custom section handler so that I can populate the MobileCapabilities object from my our custom data rather than the browserCaps section in machine.config. From my...
6
by: Eric | last post by:
Hi, Why there is no <browserCaps> section, which is correct? I understand that Netscape and others are 'DownLevel' browser, but in my case, also the PocketIE on my Ipaq and Opera browser for...
10
by: Eric | last post by:
Hi, Why there is no <browserCaps> section, which is correct? I understand that Netscape and others are 'DownLevel' browser, but in my case, also the PocketIE on my Ipaq and Opera browser for...
6
by: Jim_tvm | last post by:
I'm very new to web development using ASP.NET. I'm developing a site using ASP.NET. My site looks fine if you use IE but if you open it in NS it's not displaying properly. And this display will...
0
by: sujan | last post by:
Hi all, I'm very new to web development using ASP.NET. I'm developing a site using ASP.NET. My site looks fine if you use IE but if you open it in NS it's not displaying properly. And this...
3
by: Lee Chapman | last post by:
Hi, I want my ASP.NET web application to use a custom HtmlTextWriter. i.e. I want the object that the Framework passes to System.Web.UI.Control.Render() to be my own object, MyHtmlTextWriter,...
1
by: prasad9490024564 | last post by:
Hi Team, We are developing crossbrowsing type application with asp.net2.0 In my page i am having server side label control <asp:Label id="Label1" runat="server" Width="100px" >I am quite a...
0
by: prasad9490024564 | last post by:
Hi Team, We are developing crossbrowsing type application with asp.net2.0 In my page i am having server side label control <asp:Label id="Label1" runat="server" Width="100px" >I am quite a bit...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
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,...

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.