<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bulletproof Mobile Device Detection and Style Sheets without User Agent Detection or Server-Side Scripting</title>
	<atom:link href="http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 15:46:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brunogirin</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-79</link>
		<dc:creator>brunogirin</dc:creator>
		<pubDate>Sun, 30 Aug 2009 19:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-79</guid>
		<description>A further note on the Nokia N97: going through the test cases posted by Dom at http://www.w3.org/2007/11/cssmedia-mobile/ is appears that the N97 fails tests 5, 6, 7, 8, 9 and 10 but passes all the others. In particular, it passes tests 11, 12 and 13 which means that it doesn&#039;t seem to accept media handheld but understands media queries.</description>
		<content:encoded><![CDATA[<p>A further note on the Nokia N97: going through the test cases posted by Dom at <a href="http://www.w3.org/2007/11/cssmedia-mobile/" rel="nofollow">http://www.w3.org/2007/11/cssmedia-mobile/</a> is appears that the N97 fails tests 5, 6, 7, 8, 9 and 10 but passes all the others. In particular, it passes tests 11, 12 and 13 which means that it doesn&#039;t seem to accept media handheld but understands media queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brunogirin</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-78</link>
		<dc:creator>brunogirin</dc:creator>
		<pubDate>Sun, 30 Aug 2009 00:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-78</guid>
		<description>I just tried it on a Nokia N97 and it works as expected:

You are on a mobile device
You have javascript

All on a red background.</description>
		<content:encoded><![CDATA[<p>I just tried it on a Nokia N97 and it works as expected:</p>
<p>You are on a mobile device<br />
You have javascript</p>
<p>All on a red background.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Van Campen</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-76</link>
		<dc:creator>Jeff Van Campen</dc:creator>
		<pubDate>Mon, 20 Jul 2009 21:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-76</guid>
		<description>I&#039;ve been playing around with this technique as a part of an assignment for the W3C&#039;s &lt;a href=&quot;http://www.w3.org/2009/04/MobiWeb102/&quot;&gt;Mobile Best Practices&lt;/a&gt; online course.

As you may know, the W3C Mobile Best Practices &lt;a href=&quot;http://www.w3.org/TR/mobile-bp/#ddc&quot;&gt;Default Delivery Context&lt;/a&gt; includes serving mobile documents with an application/xml+xhtml content type.

Since this is the case, I&#039;ve been serving my test cases with the application/xml+xhtml content type when that content type is supported by the User Agent.

Firefox supports the xhtml content type, so I&#039;m serving that content type to Firefox.

In Firefox 3.5 on OS X (I haven&#039;t tested other versions of Firefox), this seems to break the “min-width” media query.

I&#039;ve two identical pages with different content types.

Here&#039;s a version that serves text/html :

http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido.php

And another version that servers application/xml+xhtml:

http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido-xhtml.php

Given some of the issues surrounding application/xml+xhtml, this is probably an edge case, but I thought you&#039;d want to know.</description>
		<content:encoded><![CDATA[<p>I&#039;ve been playing around with this technique as a part of an assignment for the W3C&#039;s &lt;a href=&quot;http://www.w3.org/2009/04/MobiWeb102/&quot;&gt;Mobile Best Practices&lt;/a&gt; online course.</p>
<p>As you may know, the W3C Mobile Best Practices &lt;a href=&quot;http://www.w3.org/TR/mobile-bp/#ddc&quot;&gt;Default Delivery Context&lt;/a&gt; includes serving mobile documents with an application/xml+xhtml content type.</p>
<p>Since this is the case, I&#039;ve been serving my test cases with the application/xml+xhtml content type when that content type is supported by the User Agent.</p>
<p>Firefox supports the xhtml content type, so I&#039;m serving that content type to Firefox.</p>
<p>In Firefox 3.5 on OS X (I haven&#039;t tested other versions of Firefox), this seems to break the “min-width” media query.</p>
<p>I&#039;ve two identical pages with different content types.</p>
<p>Here&#039;s a version that serves text/html :</p>
<p><a href="http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido.php" rel="nofollow">http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido.php</a></p>
<p>And another version that servers application/xml+xhtml:</p>
<p><a href="http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido-xhtml.php" rel="nofollow">http://otrops.com/examples/w3cmobileweb/assignment06/sample-css-bushido-xhtml.php</a></p>
<p>Given some of the issues surrounding application/xml+xhtml, this is probably an edge case, but I thought you&#039;d want to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-75</link>
		<dc:creator>Andrea</dc:creator>
		<pubDate>Mon, 20 Jul 2009 16:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-75</guid>
		<description>From what you say:

&quot;But mobile stylesheets tend to be pretty light, and it’s a lot easier to cancel out mobile styles in your screen stylesheet, than it is to do it the other way around (like the ALA method). &quot;

it seems there is no need to cancel out screen styles in the mobile styles: but that is not true.
If a mobile phone doesn&#039;t understand css media queries and picks up style sheets for both screen and handheld media type (like my Nokia 2630), then you need a sort of &quot;antiscreen.css&quot; embedded or imported (like the ALA method).
Your test is fine for my phone because it picks up the stylesheets in the following order: mobile.css, screen.css and finally mobile.css again, but in real cases there will be mobile-unfriendly settings in screen.css that must be canceled out in some way.</description>
		<content:encoded><![CDATA[<p>From what you say:</p>
<p>&quot;But mobile stylesheets tend to be pretty light, and it’s a lot easier to cancel out mobile styles in your screen stylesheet, than it is to do it the other way around (like the ALA method). &quot;</p>
<p>it seems there is no need to cancel out screen styles in the mobile styles: but that is not true.<br />
If a mobile phone doesn&#039;t understand css media queries and picks up style sheets for both screen and handheld media type (like my Nokia 2630), then you need a sort of &quot;antiscreen.css&quot; embedded or imported (like the ALA method).<br />
Your test is fine for my phone because it picks up the stylesheets in the following order: mobile.css, screen.css and finally mobile.css again, but in real cases there will be mobile-unfriendly settings in screen.css that must be canceled out in some way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westleyd</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-74</link>
		<dc:creator>westleyd</dc:creator>
		<pubDate>Sun, 12 Jul 2009 18:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-74</guid>
		<description>Using a Samsung Rant on Sprint,
MyUserAgent is: Samsung-SPHM540 Polaris/6.0 MMP/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
Browser, per phone software, is Polaris/6.0

Visiting the mobile-test page gives me: &quot;
You are on a mobile device

You have Javascript&quot;
 as black text on a white background. I did notice in the location that Sprint was intercepting the request, if that potentiall makes any difference.</description>
		<content:encoded><![CDATA[<p>Using a Samsung Rant on Sprint,<br />
MyUserAgent is: Samsung-SPHM540 Polaris/6.0 MMP/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1<br />
Browser, per phone software, is Polaris/6.0</p>
<p>Visiting the mobile-test page gives me: &quot;<br />
You are on a mobile device</p>
<p>You have Javascript&quot;<br />
 as black text on a white background. I did notice in the location that Sprint was intercepting the request, if that potentiall makes any difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MobileMarc</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-73</link>
		<dc:creator>MobileMarc</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-73</guid>
		<description>Here are some &quot;Sony PSP&quot; and &quot;SonyEricsson K530i&quot; results

Sony PSP with Access Netfront 3? (definitely Netfront)
PSP resolution is 480x272 but...
on blue: You are on a desktop browser
JS on: You have javascript
JS off: You do not have javascript

and 

SonyEricssonK530i NetFront 3.3 
on red: You are on a mobile device
JS on: You have javascript

please also have a look at the test results on
http://www.w3.org/2007/03/mth/results?ts=cssmedia
SonyEricssonK530i/R6BC Browser/NetFront/3.3 
Profile/MIDP-2.0 Configuration/CLDC-1.1
100% tests run)
Test results are in column no. 22 (now).

Screenshots (photos) @ http://marcup.de/mobile/bushido/</description>
		<content:encoded><![CDATA[<p>Here are some &quot;Sony PSP&quot; and &quot;SonyEricsson K530i&quot; results</p>
<p>Sony PSP with Access Netfront 3? (definitely Netfront)<br />
PSP resolution is 480&#215;272 but&#8230;<br />
on blue: You are on a desktop browser<br />
JS on: You have javascript<br />
JS off: You do not have javascript</p>
<p>and </p>
<p>SonyEricssonK530i NetFront 3.3<br />
on red: You are on a mobile device<br />
JS on: You have javascript</p>
<p>please also have a look at the test results on<br />
<a href="http://www.w3.org/2007/03/mth/results?ts=cssmedia" rel="nofollow">http://www.w3.org/2007/03/mth/results?ts=cssmedia</a><br />
SonyEricssonK530i/R6BC Browser/NetFront/3.3<br />
Profile/MIDP-2.0 Configuration/CLDC-1.1<br />
100% tests run)<br />
Test results are in column no. 22 (now).</p>
<p>Screenshots (photos) @ <a href="http://marcup.de/mobile/bushido/" rel="nofollow">http://marcup.de/mobile/bushido/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dean</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-72</link>
		<dc:creator>dean</dc:creator>
		<pubDate>Wed, 17 Jun 2009 05:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-72</guid>
		<description>hgtablet: that&#039;s because the screen resolution of the N810 is larger than 480 pixels (800 x 400 to be exact). If you want to serve mobile stylesheets to that device, you would need to change the &quot;min-width&quot; number to 801. Personally, I don&#039;t consider a device with that high of resolution to be a mobile device, so I&#039;ll stick with what I have.</description>
		<content:encoded><![CDATA[<p>hgtablet: that&#039;s because the screen resolution of the N810 is larger than 480 pixels (800 x 400 to be exact). If you want to serve mobile stylesheets to that device, you would need to change the &quot;min-width&quot; number to 801. Personally, I don&#039;t consider a device with that high of resolution to be a mobile device, so I&#039;ll stick with what I have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hgtablet</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-71</link>
		<dc:creator>hgtablet</dc:creator>
		<pubDate>Fri, 12 Jun 2009 13:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-71</guid>
		<description>Nokia N810 Internet Tablet
Default browser called microb, firefox-based.

Detected as:
You are on a desktop browser
You have javascript</description>
		<content:encoded><![CDATA[<p>Nokia N810 Internet Tablet<br />
Default browser called microb, firefox-based.</p>
<p>Detected as:<br />
You are on a desktop browser<br />
You have javascript</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ifuschini</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-69</link>
		<dc:creator>ifuschini</dc:creator>
		<pubDate>Wed, 27 May 2009 10:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-69</guid>
		<description>I don&#039;t if is a good post for this article.
I have published the new version of Apache Mobile Filter, now the filter is give to you the information of capabilities as apache environment.
Now you can develope in any language (php,jsp, ruby etc.) and have the information of mobile capability.


Read more info here: http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html</description>
		<content:encoded><![CDATA[<p>I don&#039;t if is a good post for this article.<br />
I have published the new version of Apache Mobile Filter, now the filter is give to you the information of capabilities as apache environment.<br />
Now you can develope in any language (php,jsp, ruby etc.) and have the information of mobile capability.</p>
<p>Read more info here: <a href="http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html" rel="nofollow">http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dean</title>
		<link>http://www.bushidodesigns.net/blog/mobile-device-detection-css-without-user-agent/comment-page-1/#comment-49</link>
		<dc:creator>dean</dc:creator>
		<pubDate>Wed, 22 Apr 2009 06:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bushidodesigns.net/blog/?p=72#comment-49</guid>
		<description>kobuk: I put this method into effect on a fairly involved site I&#039;m working on right now and had some similar problems when it came to rendering on the iphone.

I&#039;m going to let you in on a secret though... sometime in the next couple of days I&#039;m going to be publishing a new article about how everything we&#039;ve all read about the percentage of people with js disabled is completely and totally false. The Cliff Notes version is that you can throw this method out the window and use this instead:

&lt;head&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;mobile.css&quot; type=&quot;text/css&quot; /&gt;
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
if(screen.width &gt;= 461) {
        document.write(&#039;&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;screen.css&quot; media=&quot;Screen&quot; /&gt;&#039;);
}
&lt;/script&gt;
&lt;/head&gt;

Check back soon to get the full scoop.</description>
		<content:encoded><![CDATA[<p>kobuk: I put this method into effect on a fairly involved site I&#039;m working on right now and had some similar problems when it came to rendering on the iphone.</p>
<p>I&#039;m going to let you in on a secret though&#8230; sometime in the next couple of days I&#039;m going to be publishing a new article about how everything we&#039;ve all read about the percentage of people with js disabled is completely and totally false. The Cliff Notes version is that you can throw this method out the window and use this instead:</p>
<p>&lt;head&gt;<br />
&lt;link rel=&quot;stylesheet&quot; href=&quot;mobile.css&quot; type=&quot;text/css&quot; /&gt;<br />
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br />
if(screen.width &gt;= 461) {<br />
        document.write(&#039;&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;screen.css&quot; media=&quot;Screen&quot; /&gt;&#039;);<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;</p>
<p>Check back soon to get the full scoop.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
