Re: JavaScript Enabled Stats
This idea rules -thanks!I had never thought of this, but played with a bit and could find myself using it a decent amount. You could use JS to load an image that's really a CFM page -- new Image().src = "" . You would embed code to add the record (set to notEnabled) in your page, and add code to the stats.cfm file that would toggle it to enabled. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
We use a service call http://www.browserhawk.com/to do all of our browser testing.We get back stats for all these vars.I wrote a CFC that interfaces w/ their code. It is handy because we know on the fly what version of Flash, JS, connection speed, ... and other junk. OS OSDetail Browser FullVersion MSN AOL Gecko GeckoBuildDate BrowserBuild IPAddress ResolveIP Referrer LanguageType ConnectionSpeed ConnectionType ResolutionHeight ResolutionWidth BrowserHeight BrowserWidth ColorDepth Flash FlashSP2 FontSmoothing Cookies _javascript_ _javascript_Ver JavaApplets ActiveXControls DHTML IFrames StyleSheets FileUpload MouseOver ImagesEnabled Plugin_Acrobat Plugin_AcrobatVerEx ImagesEnabled Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 2:44 PM To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm.I want to set a var on the page, JSEnabled = false;then use _javascript_ to set the var to true onLoad.(which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form.They could click on any number of links which I don't want to change.Has anyone tried taking stats like this before? Otherwise, is it available in some other way?(For example, a cgi.client_javascript??) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
If all you need is the JS version, there is an easier way which I'm sure you could google, but if you want more... We use a service call http://www.browserhawk.com/to do all of our browser testing.I wrote a CFC that interfaces w/ their code. It is handy because we know on the fly what version of Flash, JS, connection speed, ... and other junk. We get back stats for all these vars: OS, OSDetail, Browser, FullVersion, MSN, AOL, Gecko, GeckoBuildDate, BrowserBuild, IPAddress, ResolveIP, Referrer, LanguageType, ConnectionSpeed, ConnectionType, ResolutionHeight, ResolutionWidth, BrowserHeight, BrowserWidth, ColorDepth, Flash, FlashSP2, FontSmoothing, Cookies, _javascript_, _javascript_Ver, JavaApplets, ActiveXControls, DHTML, IFrames, StyleSheets, FileUpload, MouseOver, ImagesEnabled, Plugin_Acrobat, Plugin_AcrobatVerEx, ImagesEnabled. Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 2:44 PM To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm.I want to set a var on the page, JSEnabled = false;then use _javascript_ to set the var to true onLoad.(which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form.They could click on any number of links which I don't want to change.Has anyone tried taking stats like this before? Otherwise, is it available in some other way?(For example, a cgi.client_javascript??) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
You could use JS to load an image that's really a CFM page -- new Image().src = "" . You would embed code to add the record (set to notEnabled) in your page, and add code to the stats.cfm file that would toggle it to enabled. _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 October 2004 8:44 a.m. To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled.I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm.I want to set a var on the page, JSEnabled = false;then use _javascript_ to set the var to true onLoad.(which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form.They could click on any number of links which I don't want to change.Has anyone tried taking stats like this before?Otherwise, is it available in some other way?(For example, a cgi.client_javascript??) _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]