: 4582 | 108668 | 12353

Fix the bug of @BrowserInfo 
Use this IdeaSpace to post ideas about Domino Designer.

: 19
: 20
: 1
: Domino Designer
: @Formula
: Rishi Sahi1687 24 Feb 2009
: / Email
BrowserInfo("BrowserType") doesn't work anymore with latest browser and newer versions. When verified on Mozila Firefox 3 , it returns Netscape instead of Mozila.
Also, @BrowserInfo("Version") returns 5 when verified on Mozila 3.0 and returns 5 for Safari 3.2 as well.
Note : Tested on R8.0.2

1) Peter von Stöckel2682 (24 Feb 2009)
@BrowserInfo can never be kept up-to-date with new browsers, so I think it is time to remove support for it instead.
2) Rishi Sahi1687 (25 Feb 2009)
@Peter , When HTTP_User_Agent can provide right version number and browser type ( But not structured) then why not @BrowserInfo. If you try HTTP_User_Agent , it gives

For IE ,

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

For Firefox,

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

For Safari,

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.28 (KHTML, like Gecko) Version/3.2.2 Safari/525.28.1

You can see information is not structured which is hard to use when you need to detect. So, either IBM make this information more structured or fix the issue with @BrowserInfo

3) Per Holmberg449 (25 Feb 2009)
I kind of agree with Peter (first comment). @BrowserInfo will never be reliable. Avoid browser sniffing when you can and if you really need it, reading User-Agent header is probably a better choice.
4) Rishi Sahi1687 (10 Mar 2009)
I agree Per , but don't you think HTTP_User_Agent output could be much easier to extract . I have to give fair amount of time to write a formula and extract the right information. Instead at least it could return array or more structured string which could be easy to parse.


Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo