25.05.2016 Views

ebook-responsive-elearning-with-links-us

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3 Determining<br />

A Responsive eLearning Design Strategy<br />

3.3: Challenges and Solutions<br />

3.3.2: Development<br />

The Tale of User Agents: All software applications, including browsers, contain <strong>us</strong>er agents that send<br />

information to the network about themselves as well as the device they run on. This information is<br />

provided in the form of a unique <strong>us</strong>er-agent string specifying the software application type, name, revision<br />

and the operating system.<br />

If you take close look at these strings, you'll see that the browser name is different for different devices<br />

—the Chrome <strong>us</strong>er agent for the desktop returns "Chrome" as the browser name whereas the <strong>us</strong>er agent<br />

for the iPhone returns “CriOS” ("Cr" for Chrome and "iOS" for the OS). Similarly, there can be other<br />

parameter values <strong>with</strong>in <strong>us</strong>er-agent strings that differ based on device-software application combinations.<br />

Sample <strong>us</strong>er-agent string for Google Chrome 32 on a Windows 7 Desktop PC<br />

Sample <strong>us</strong>er-agent string for Google Chrome 31 on an iPhone running iOS 6<br />

Sample <strong>us</strong>er-agent string for Google Chrome running on a Nex<strong>us</strong> 5 is<br />

Sample <strong>us</strong>er-agent string for Firefox running on the same Nex<strong>us</strong> 5 is<br />

Here, you can see that unlike for Chrome, the <strong>us</strong>er-agent string for Firefox does not specify the Android version.<br />

54

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!