Does anyone have a list of keywords or code for detecting if a request
is coming from a mobile browser? I don't need it to be perfect, but I'd
like to redirect most mobile users to some optimized pages...I'm
figuring that I could probably compare a list of keywords to the
HTTP_USER_AGENT or
Does anyone have a list of keywords or code for detecting if a request
is coming from a mobile browser?
I don't know, but I think that testing the total screen width should be
accurately enough.
--
___
REUSE CODE! Use custom tags;
See
Does anyone have a list of keywords or code for detecting if
a request is coming from a mobile browser? I don't need it
to be perfect, but I'd like to redirect most mobile users to
some optimized pages...I'm figuring that I could probably
compare a list of keywords to the HTTP_USER_AGENT
Sent: Wed Jan 17 18:50:36 2007
Subject: Re: SOT: mobile browser detection
Does anyone have a list of keywords or code for detecting if a request
is coming from a mobile browser?
I don't know, but I think that testing the total screen width should be
accurately enough
I don't know, but I think that testing the total screen width
should be accurately enough.
Mobile devices do not always provide that information. I think, actually,
that most don't.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber
Claude Schneegans wrote:
I don't know, but I think that testing the total screen width should be
accurately enough.
Are mobile browsers to the point that a large percentage of them would
support the js functions to allow this?
Dave Watts wrote:
This list is updated regularly:
http://wurfl.sourceforge.net/
There are some other approaches, outlined here:
http://www.thewirelessfaq.com/how_to_distinguish_a_mobile_browser_from_a_des
ktop_browser
Good links...thanks Dave.
Hi,
I was just looking for a javscript browser detection library. Yes, I
know, one should do object detection foremost, but for special needs
this is good.
I found a lot of libraries out there, but they seem to all have been
abandonded a couple of years ago (when the browser-wars got stale, when
browser detection library
Hi,
I was just looking for a javscript browser detection library. Yes, I
know, one should do object detection foremost, but for special needs
this is good.
I found a lot of libraries out there, but they seem to all have been
abandonded a couple of years ago (when the browser
| This looked like the best, but it is abandonded:
| http://www.bgsu.edu/scripts/browser.js.html
Sorry pasted a wrong link, the above wasn't anything too interesting,
this was what I had in mind (extensive script, but not updated
recently):
Hey All,
Does anybody have a rock solid _javascript_ script for browser detection? or a
CF code snippet?
I'm under the gun and don't really want to re-invent the wheel using this
script (it's kind of overkillbut very good):
http://webreference.com/tools/browser/_javascript_.html
I'm
If you're looking for something server side, try Browserhawk:
http://www.browserhawk.com/
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
Date: Wednesday, April 7, 2004 3:28 pm
Subject: browser detection script
Hey All,
Does anybody have a rock solid _javascript_ script
: browser detection script
If you're looking for something server side, try Browserhawk:
http://www.browserhawk.com/
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
Date: Wednesday, April 7, 2004 3:28 pm
Subject: browser detection script
Hey All,
Does anybody have a rock
Bryan Stevenson wrote:
Does anybody have a rock solid _javascript_ script for browser detection? or a
CF code snippet?
I'm under the gun and don't really want to re-invent the wheel using this
script (it's kind of overkillbut very good):
http://webreference.com/tools/browser
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: Jochem van Dieten
To: CF-Talk
Sent: Wednesday, April 07, 2004 2:49 PM
Subject: Re: browser detection script
Bryan Stevenson wrote:
Does
Bryan Stevenson wrote:
Thanks Jochembut how do I test if a browser will render the site as intended (i.e. in NS 4 this site looks WAY off the intended look).
You use certain functions, right? Just test for those :-)
Instead of (pseudocode):
function getIt(It) {
return
PROTECTED]
Sent: Wednesday, April 07, 2004 3:07 PM
Subject: Re: browser detection script
Thanks Jochembut how do I test if a browser will render the site as
intended (i.e. in NS 4 this site looks WAY off the intended look).
Mabye I can simplify this with a little help from CF-Talkers
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 6:36 PM
To: CF-Talk
Subject: Re: browser detection script
what Jochem is suggesting is testing for the capability of
any browser to be
able to correctly render your code.
back
, April 07, 2004 3:27 PM
Subject: Re: browser detection script
Bryan Stevenson wrote:
Thanks Jochembut how do I test if a browser will render the site as intended (i.e. in NS 4 this site looks WAY off the intended look).
You use certain functions, right? Just test for those :-)
Instead
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: Samuel R. Neff
To: CF-Talk
Sent: Wednesday, April 07, 2004 3:58 PM
Subject: RE: browser detection script
That's fine for JS
You don't have to reinvent the wheel. Just go to
http://www.quirksmode.org/ and check out Peter-Paul Koch's DHTML Micro
API. It'll cover everything you need by doing object detection instead
of browser detection.
By checking document.getElementById vs. document.all vs.
document.layers
What are people doing for browser detection these days?
I am using a custom tag called browsercheck which is pretty old and I'm
just curious if people have a slicker way. I have checked out the browser
detection UDFs at cfdev but they don't do everything I'm looking for.
I'm mainly looking
to snuff in providing detailed
browser/platform information...
--
Kreig Zimmerman : Sr. Technical Mgr. : [EMAIL PROTECTED]
Four Eyes Productions : Brooklyn, NY
- Original Message -
From: Sean Daniels
To: CF-Talk
Sent: Thursday, May 02, 2002 9:32 AM
Subject: Browser Detection
Someone posted a UDF that detected the browser..
Does someone have this handy? I have misplaced it :0)
Thanks,
Clint
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion
Go to: www.cflib.org all sort of goodies
Thanks,
Jason
-Original Message-
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:45 AM
To: CF-Talk
Subject: browser detection UDF
Someone posted a UDF that detected the browser..
Does someone have
]
Yahoo IM : morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Jason Larson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 12:20 PM
To: CF-Talk
Subject: RE: browser detection UDF
Go to: www.cflib.org all sort of goodies
Thanks
I looked before I posted my request.
Clint
-Original Message-
From: Jason Larson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 11:20 AM
To: CF-Talk
Subject: RE: browser detection UDF
Go to: www.cflib.org all sort of goodies
Thanks,
Jason
-Original Message-
From
with experience using these.
Greg Alton
CFDev
- Original Message -
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 12:21 PM
Subject: RE: browser detection UDF
Actually I'm pretty sure we don't have one for this yet. So... any
enterprising
Does anyone have a UDF that will detect the type and version of a user's
browser?
I checks CFLib.org and could not find one. I can probably write one, but I
need the time to do it and it is outside of the domain of the current
application I am working on.
Russel
PM
To: CF-Talk
Subject: Browser Detection UDF
Does anyone have a UDF that will detect the type and version of a user's
browser?
I checks CFLib.org and could not find one. I can probably write
one, but I
need the time to do it and it is outside of the domain of the current
application I am
;
}
/cfscript
__
steve oliver
cresco technologies, inc.
http://www.crescotech.com
-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 3:55 PM
To: CF-Talk
Subject: Browser Detection UDF
Does anyone have a UDF that will detect
::: To: CF-Talk
::: Subject: Browser Detection UDF
:::
:::
::: Does anyone have a UDF that will detect the type and
::: version of a user's
::: browser?
:::
::: I checks CFLib.org and could not find one. I can probably
::: write one, but I
::: need the time to do it and it is outside of the domain
This is perfect!
Thanks. I hope to put this into production.
Russel
-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 3:12 PM
To: CF-Talk
Subject: RE: Browser Detection UDF
I found a custom tag and just converted it over to a UDF, hope
here's one: http://www.cfdev.com/products/productdetail.cfm/id/1003
-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 3:55 PM
To: CF-Talk
Subject: Browser Detection UDF
Does anyone have a UDF that will detect the type and version
There's a good custom tag called CF_BrowserCheck on the Developer's
Exchange that supports many browsers, including Opera and Lynx.
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA34712E-2830-11D4-AA
9700508B94F380method=Full
Peter Tilbrook ([EMAIL PROTECTED])
Macromedia ColdFusion
Does anyone know how I can check for browser type and version with CF? I
really do not want to use JS to do this, although I am currently doing
it that way. I would imagine a CGI car, but not sure how to do it.
CF_SIGNATURE
NAME=Douglas L. Brown
EMAIL=[EMAIL PROTECTED]
.. Try here:
http://www.digital-jungle.com/cfuseragent/
Mike
-Original Message-
From: Douglas L. Brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 23, 2001 12:46 PM
To: CF-Talk
Subject: Browser detection w/CF
Does anyone know how I can check for browser type and version with CF? I
Is there a way in CF to detect the clients browser and version or is JS the
only way to go?
Michael T. Tangorre
Resident Assistant - Brick
Web Applications Developer
A.U. Webteam Slave :-)
AIM: CrazyFlash4
~~
Get the
Try #HTTP_USER_AGENT#
-Original Message-
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2001 16:59
To: CF-Talk
Subject: CF and Browser Detection
Is there a way in CF to detect the clients browser and version or is JS
the
only way to go?
Michael T. Tangorre
#CGI.User_Agent#
Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]
-Original Message-
From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 10:59 AM
To: CF-Talk
Subject: CF and Browser Detection
www.browserhawk.com
Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire
-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 12:01 PM
To: CF-Talk
Subject: RE: CF and Browser Detection
#CGI.User_Agent#
Larry Juncker
Senior
Here's some code that may be useful. Not the most refined way, but works. Also
doesn't return version info. Gecko is NN6.
CFPARAM NAME=request.IsMSIE DEFAULT = #IIf( CGI.USER_AGENT CONTAINS MSIE, 1, 0
)#
CFPARAM NAME=request.IsOpera DEFAULT = #IIf( CGI.USER_AGENT CONTAINS Opera, 1, 0
)#
Subject: CF and Browser Detection
Is there a way in CF to detect the clients browser and version or is JS
the
only way to go?
Michael T. Tangorre
Resident Assistant - Brick
Web Applications Developer
A.U. Webteam Slave :-)
AIM: CrazyFlash4
Does anyone know how to detect the WebTV browser using ColdFusion? Which
value of the CGI.HTTP_USER_AGENT would you be looking for?
Also, I have seen discussions that WevTV spoofs Netscape.
Sebastian
~~
Structure your ColdFusion code with
: RE: CF browser detection???
Or...there is always the handy-dandy custom tag, CF_BrowserCheck!
Here:
http://devex.allaire.com/developer/gallery/SearchResults.cfm?k
eywords=BROWSE
RCHECKsearch=search
Mike
-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED
//--
/SCRIPT
-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 11:48 AM
To: CF-Talk
Subject: Browser Detection
Now i feel dumb for recently deleating all of that past browser detection
talk
this is all i want to do:
verify that whom
see cf_browser in the allaire tag gallery.
Paul
-Original Message-
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: 17 October 2000 16:48
To: CF-Talk
Subject: Browser Detection
Now i feel dumb for recently deleating all of that past browser detection
talk
this is all i want
Or even: cfif cgi.http_user_agent contains "MSIE"
-Original Message-
From: Warrick, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 October 2000 2:03
To: CF-Talk
Subject: RE: Browser Detection
cfif cgi.http_user_agent contains
CFOUTPUT query="GetNews" STARTROW="#the_start#" MAXROWS="3" if Netscape
stupid browser,MAXROWS="6" if IE
Obviously the above won't work, but is there something like this that will??
CFIF??
I don't want to use a javascript detection and redirect to a whole new page.
Jeff
ubject: CF browser detection???
CFOUTPUT query="GetNews" STARTROW="#the_start#" MAXROWS="3" if Netscape
stupid browser,MAXROWS="6" if IE
Obviously the above won't work, but is there something like this
that will??
CFIF??
I don't want to use a java
You can use
cfif HTTP_USER_AGENT CONTAINS "MSIE"
code
cfelse
code
/cfif
-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:38 PM
To: CF-Talk
Subject: CF browser detection???
CFOUTPUT query="GetNews"
nt: Monday, October 16, 2000 3:49 PM
To: CF-Talk
Subject: RE: CF browser detection???
You can use
cfif HTTP_USER_AGENT CONTAINS "MSIE"
code
cfelse
code
/cfif
-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000
-Talk
Subject: CF browser detection???
CFOUTPUT query="GetNews" STARTROW="#the_start#" MAXROWS="3" if Netscape
stupid browser,MAXROWS="6" if IE
Obviously the above won't work, but is there something like this that will??
CFIF??
I don't want to
Anyone know of a way to write a statement like this that works?
This is the idea: I need to write an "if" statement based on if netscape is
being used. I would like to use the HTTP_USER_AGENT like this:
cfif HTTP_USER_AGENT IS NOT ""
cfif HTTP_USER_AGENT LIKE '%netscape%'
put netscape
From: Britta Wingenroth [mailto:[EMAIL PROTECTED]]
This is the idea: I need to write an "if" statement based on if netscape
is
being used. I would like to use the HTTP_USER_AGENT like this:
cfif HTTP_USER_AGENT IS NOT ""
cfif HTTP_USER_AGENT LIKE '%netscape%'
This is IE: Browser
Lentz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 8:58 AM
To: [EMAIL PROTECTED]
Subject: RE: browser detection
From: Britta Wingenroth [mailto:[EMAIL PROTECTED]]
This is the idea: I need to write an "if" statement based on if netscape
is
being used. I would l
Hello Britta,
I use this code to detect the browser on the server side, it may work
for you
-- code
CFSET ApprovedBrowsers = "IE,NS"
CFSET BrowserOS = ""
CFSET BrowserType = "NS"
CFSET BrowserVersion = -1
CFSET BrowserVersionMajor = -1
CFSET
Just a quick question. Apart from the very few cgi variables available (eg.
cgi.HTTP_USER_AGENT) is there any other way to find out more about the browser as well
as the client requesting a particular CF template?
Thanks.
Leong
58 matches
Mail list logo