Please point out the features of the device in a request header

Responsive Web Design http://bit.ly/f6TPB7 is an approach/technique/movement extremely important to make the mobile-friendly web. Given that web mobile traffic explodes and there were more smart phones sold in 2011 that PCs http://vrge.co/wqOiED that the importance of the movement cannot insist.

We have some significant obstacles on the path to fully optimized Responsive Web Design, however. Sensitive images (small images for small screens optimize download times) and optimized CSS/JS (mobile devices do not need the same JS/CSS as desktop browsers do) are the most obvious.

The best way to manage sensitive images and optimize CSS/JS would be on the side server. However, server-side has enough information on the features of the device, with the emergence of all sorts of cruft-y solutions for result (e.g. with)

popular for tags etc.) that should not exist.

However, browsers know a lot about the devices they are running on and could pass this information to servers as part of the initial application, which allows the servers to get smarter than what we have now.

Something as simple as if Firefox passed along information of width/height of the unit within the framework of the initial request headers would go very very far, which can do a lot of smart decisions on the side Server (possibly allowing systems 'media-queries-like' on the side Server).

Since some proxy servers break or disable the custom headers, probably the safest way to add this is to add the width/height of the user-agent header information.

Mozilla is in no hurry to add a bunch of stuff for the request headers. There are sites like bostonglobe.com who make sensitive design without the need for these headers. Giving also the exact pixels may lead to the design of the site that breaks easily to other pixels width/height and densities. That being said that Firefox will be to clarify the General class of the device through the user agent. He calls clearly to being a mobile device < ~ 7 ", compressed ~ 7 '-~ 11 ' and office. That can be used to make generalizations about the size of the content that you want to send. There will be more info on the user agent string mobile Firefox 11 beta is released.

[edit] This work has been planned for Firefox for Android v11 however proceed to time constraints, was released as part of 14 Firefox for phones. Shelf support will be added in a future version of Firefox.

Tags: Firefox App

Similar Questions

  • Can someone please take a look at and point out the flaws in the chosen components.

    I'll buy components for the creation of 2 new machines to vsphere installation 5. The configurations of these are the following:
    Computer1:
    Core i5 2500
    ASUS P8H67-M PRO H67
    G.Skill Ripjaws - memory - 8 GB: 2 x 4 GB DIMM 240-pin - DDR3 - 1333 MHz
    2 TB WD SATA western digital Caviar Green
    Cooler Master Elite 370
    Corsair CMPSU - 600GS Gaming Series power supply SMPS 600W
    Samsung 22 X DVDRW desktop DVD writer internal
    Computer2:
    Core i7 2600
    ASUS Z68 P8Z68-V PRO
    G.Skill Ripjaws - memory - 8 GB: 2 x 4 GB DIMM 240-pin - DDR3 - 1333 MHz
    Seagate 1 TB Barracuda 7200.12 SATA 3 Gb/s
    Cooler Master Elite 430
    Corsair CMPSU - 600GS Gaming Series power supply SMPS 600W
    Both machines will be used for my study of vmware whitebox.
    Can someone please take a look at and point out the flaws in the chosen components.

    Please go through the link below

    http://www.VMware.com/resources/compatibility/search.php

    http://www.VMware.com/support/vsphere5/doc/vSphere-ESX-vCenter-Server-50-release-notes.html#beforeyoubegin

    Yours,

    Satya

  • All of a sudden I can't type data on registered forms. The purple bar above shows "Please fill out the following form. "You can save the data entered in this for."

    All of a sudden, I can't type data on registered forms. The purple bar above shows "Please fill out the following form. You can save the data entered in the form.

    Program used to complete the form (I guess they are in PDF format)? OPERATING SYSTEM? Versions of both? Forms were filled before you save them?

  • Can someone point out the card network for Satellite Pro C850 driver?

    Hey, I have re installed Windows 7, but I forgot to download the drivers. I needed before hand. I can t have access to the internet on this subject to update the drivers. If someone could please please find the network drivers for the Toshiba Satellite Pro C850 cards and post them here!

    I don't want to download a driver manager. Just the drivers please!

    To help we need more information. You use Win7 32 bit or 64 bit and what model of laptop you have exactly?

    Anyway, if you can access the internet with another PC you can find drivers on http://www.toshiba.eu/innovation/download_drivers_bios.jsp

    Check it out.

  • Pointing out the correct answer after failing to question?

    Hello

    I'm experimenting Captivate 7 and worked on how to do just about everything I need it to do. I have 3 or 4 mini-quizzes scattered throughout the presentation that allow 3 attempts before moving on. What I would do, is however, before continuing, display or highlight the correct answers. Is it possible to do?

    Thank you

    Hello and welcome,

    Normally this will be done during the review: correct answer indicated (with a check mark) as well as the answers given. But the inquiry cannot be done after the quiz was made using a button on the slide to Score.

    It could be done, perhaps a bit difficult for a beginner. Question slides do break (you see the double vertical line in the timeline of the slide) and this break is used twice: playhead rest pause when the user clicks on send and see the legends of your comments, then it must support on Y or click on the slide to leave the playback head. Look at the accordion of actions in the Panel properties Quiz: success and the last attempt are by default set to "continue".

    More information: http://blog.lilybiri.com/question-question-slides-in-captivate and http://blog.lilybiri.com/question-question-slides-part-2

    If you understand this workflow, you could time a highlight (box or something else), immediately after this point of suspension. As the playhead will continue, this climax appear, but be visible only for the period after the point of putting paused. If this is not enough, you can do the longest slide in questionnaire.

    Here I change the duration of the Quiz slide to 5 seconds, which means that the highlight box will be visible to (1. 5-5) = 3.5 seconds before the read head reached the end of the slide and goes to the next slide

  • My computer started randomly closing overnight - then the left on download. Internet points out the unexpected stop down and gives me a link dead at error number: 0x8DDD0002 - I'M the only user/administrator

    I've been downloading for years, but the last 3 - 4 times when I let the computer do its things while I'm in bed, I come down in the morning and the computer restarted itself and I get the Vista - computer has recovered from an unexpected stop, then he gives me the windows update link, which tells me that I must be an administrator to apply updates!  I AM she!  only one user on this computer, checked my settings and its fine!

    Someone has any ideas why this started all of a sudden the most stupid and frustrating now!

    Thanks in advance people :D

    "computer has recovered from an unexpected shutdown, then he gives me the windows Update link.

    Most of the time, it restarts itself during the update process.

    Change it to no automatic installation, which is what I was hoping you would do to dismiss this case.

    That's what brought me to update problems.

    See you soon.

    Mick Murphy - Microsoft partner

  • Edit tools: pointing out the tool has stopped working, how to fix this?


    My highlight tool worked this morning, but after clicking on a box that says do not yet show that my highlighting tool has stopped working. How can I fix it?

    Rahul,

    After posting my question, I found how to solve my problem. I just reset the warnings edition.

    Thank you

    Kelsey

  • CSS: Pointing out the columns of the Table

    I want to use the border-bottom property to create underscore for the columns of the table. The complexity is when I try to create colspanned 'parent' or 'Super-colonnes' i.e. of the column heads that span 2 or more child/sub-headings heads. I need the underscore to stop a few pixels short of the next column, so that the user can see what child columns are included in the parent. When I tried to add white borders to the left and to the right, that he worked too good, in that not only it has created the space downstairs, he also created the space at the top (or bottom one above). Essentially the vertical borders to sit on top of the horizontal. Anyone can make sense what I said right? Any ideas how to get what I want (elegantly)?

    Thank you.

    Well, it was pretty easy. I just added the border-collapse attrib and set 'split' and now (white) borders left and right do not cut into the bottom border of the cell above.

    http://mysite.Verizon.NET/brentemerson/public/test_page0.html

  • Pointing out the mail opens in windows live mail 2011, how to disable?

    mail only hi - lite and it opens. I won't open without opening it more precisely. How to accomplish this change?

    3 years.

  • And then visualize it PhoneGap/Cordova download file to the device

    I'm doing a magazine app that downloads images to the device for the magazine can be read when offline or with a bad internet connection.

    I use PhoneGap/Cordova version 3.1 with 10 of BlackBerry and plugins file and file transfer. I made a few changes to my code base that runs on Android and iOS since before he could download files on the Simulator. Ensure the directory that I wanted to save the file to exist and access to the file with the path indicated in fs.root.toURL ().

    But now that I got the files uploaded to the device I can't view. On other platforms, I was able to use theFileEntry.toURL () and set it as the source for an img tag. But for BB10 I see only an empty img tag. =/
    The specified local path is: filesystem:local:///persistent/bblogo.png

    I was searched and seen references to disabling sandbox and by saving the file on blackberry.io.shared or blackberry.io.home, but blackberry is not available for me with PhoneGap 3.1. Looking at the native documentation , that I saw that the shared path is/accounts/1000/shared but trying to browse the file system I am told that the path does not exist. (fs.root.getDirectory ('accounts') to start with).

    I have a GitHub repository with what I'm looking for here: https://github.com/gaqzi/phonegap-bb10-file-transfer-test
    The code in question is here: https://github.com/gaqzi/phonegap-bb10-file-transfer-test/blob/master/www/js/index.js#L38

    I also noticed that the size of the file when the download is complete is much larger than the actual size of the file on my computer. And the same code running on iOS I see not enough to increase the size of the file. I don't know if that has to do any.

    To try to combat the current file size wildly different I coded an image 10 x 10 pixels as Base64, she decoded on the device and saved. Now, he pointed out the same size on my computer and the device, but still can not see. The same exercise done on iOS gives me a visible image.

    For the code on the test of Base64, please see my thread Stack Overflow for this: http://stackoverflow.com/questions/19421245/blackberry-10-cordova-phonegap-3-1-filetransfer-image-do...

    I am at a loss what can I do to access the files I created, anyone has an idea?

    Hello

    The patch for the cordova file api is still ongoing. Until that of land, here is an example for download of an image and inject it into the DOM. It uses XHR, but the filetransfer plugin should work as well.

    https://gist.github.com/jeffheifetz/c1127b4d3e132ffff972

    You will need to 'blackberry.io', which is available as plugin PhoneGap/Cordova here:

    https://github.com/BlackBerry/Cordova-BlackBerry-plugins/tree/master/plugin/com.BlackBerry.IO

    The patch will automatically update toURL so that it returns the full path which has been hard-coded in the example.

  • Update of the device: underlying operating system far can be updated?

    I'm fighting to get my hands around the ability to update device, which is impressive, to be sure.

    Let's say I have build devices following, all using the same application:

    1. CentOS 5.3, Application version 3.0

    2. CentOS 5.3, version 3.1 Application

    3. CentOS 5.4, Application version 3.2

    4. CentOS 6.0, version 4.0 Application

    I know I could install #1 and update # 2 without any problems (other than those posed by part of my app, of course).

    I expect that I could then update # 3 without problem, probably?  I am not sure if RedHat/CentOS dot releases are something to the RPM level that can support the update.

    A more interesting question would be - could I update #3 à #4?  I doubt it, since I don't see that you can update CentOS 5. anything for CentOS 6. anything by just RPM installs, and it seems that the ability to update VMware Studio device is driven out of RPM.  Although there might be something else that I have not yet triggered in my experiences.

    What will happen if I ran #3 and looked for updates?  He could direct me to #4?  He would try to do and do not, work, or what?

    Thanks a lot if someone knows about it.  If there is a place I should read these things, I'd like a pointer, as I have not been able to find out information at this detailed level other than on this forum.

    Thanks again.

    #2-> #3 should be fine.

    #3-> #4, Studio update feature you would ban not to, because all of the updates are based pkg as you said, you could however meet other issues such as the incompatible commands, libs, etc. This isn't a use case recommended by Studio for (which includes major improvements to the OS).

    As long as the Repo to update that points to the device to a matching, VendorUUID, ProductRID, name of the device and one more great appliance Version appear available, the update executes the script of prior update, download the packages and try to install and run the update script. With regard to the question of whether this whole process was successful or not, depends especially how to install pkgs.

  • Sync system does not recognize the device

    original title: synchronize the system used to recognize my device. Now it is not. Device driver indicates that it works correctly, but I can't download songs or videos.

    My system to Sync Windows Media Player does not recognize when my Samsung Captivate phone is connected.  When I got him on the phone, all worked fine, but now it doesn't.  I would like to transfer new songs and videos to my phone, but the system doesn't seem to know that the phone is connected.  All drivers are in good working condition.  Computer knows the phone is plugged into the screen of pilots, but not on the generic details screen.

    Hi michie75,

    1. you remember to make changes to the computer before this problem?

    Step 1:

    You can run the fixit available in the link below and

    Equipment and devices not getting not detected

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Step 2:

    Check if the sync settings are correct. To do this, follow these steps.

    a. open Windows Media Player.

    b. click the arrow below the Sync tab, point to the device and then click Advanced Options.

    c. the Properties dialog box for your device is displayed. Tab sync, box start sync when device connects checkbox.

    d. restart the media player.

    e. the next time you want to sync, connect the device to your computer, click the Sync tab, and then click Start synchronization.

    For more information, please visit the links below:

    Set up a device to sync in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-device-to-sync-in-Windows-Media-Player

    "Windows Media Player sync: frequently asked questions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Media-Player-sync-frequently-asked-questions

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • My smart Skate E - lan is missing, I charge and it does not appear in the devices?

    After downloading a new driver, cannot locate, it changes nothing. Do not read at startup.

    Hello
    Since it seems that this machine worked correctly in the past, I don't think it's a problem with the drivers. There might be something blocking the unit from working. Have you downloaded anything recently, maybe when you were on the Netflix site?

    I suggest try to boot mode safe XP and see if the problem persists. If so, I suggest to try a system restore to a point where the device was working.
    http://support.Microsoft.com/kb/306084

    I hope this helps.

  • I had the literoom last Sunday. but did not the program. When I start this program. "Please disconnect in the menu help reconnect you, and then click license of this software.

    I had the literoom last Sunday. but did not the program. When I start this program. "Please disconnect in the menu help reconnect you, and then click this software license" How can I do?

    Hello

    I see that you bought the subscription of photography and it seems it is stuck in the sign in a loop.

    Please try out the following links

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Solve the common activation Adobe Creative Cloud (login) and questions (disconnect) disabling or error messages

    Troubleshooting of Activation creative cloud (solved 99% of the questions)

  • Disable "Please fill in the following form" purple bar in the form

    When you create a form with text fields, is there a way to prevent the "Please fill out the following form" purple bar of projection in any Acrobat Reader?

    Is the closest, I need to find a solution of screening from a view using a script of doc (see link below, which I do not know how, but seems like overkill for something that should be a simple "Preset").

    Acrobat XI: How to hide purple & quot; fill out forms & quot; banner? (Creation and analysis of the forms)

    Instruct the people who receive the forms in order to disable the purple bar in their Acrobat readers is not an option.

    Any advice would be welcome!

    A form that must be filled, which is the only way I know. Instructions for setting up are quite clear in that link you provided, then I would simply do it by following the instructions.

Maybe you are looking for

  • Presario CQ60 420us: How can I upgrade my Presario CQ60 420us?

    Presario CQ60 420us, (p/n NW156UA #ABA) I intend to switch to Win 7 (64 bit) OS and want to upgrade the computer while I'm. The best I can teli of the prominent absesce, maintenance and repair, CPU Pentium T4200 Dual Core (2 GB) that I won't be able

  • random numbers

    How to generate random binary number "16-bit"?

  • Can I downgrade from Win Vista HomePremium 64 OEM Win XP 64? And what key should I use?

    I have a DELL with WIN VISTA Home Premium OEM 64 and I need it downgrade to WIN XP 64.Some older programs don't work correctly on VISTA and I don't need to spend a lot of money for an upgrade to WINDOWS 7. So please don't tell me to upgrade just tell

  • I lost my wireless connection, says no wireless connection available... but they are!

    Hello I use a laptop dell inspiron with windows 7 - I set up a wireless connection with talk talk about 6 weeks - and things has of worked - this weekend the small icon at the bottom of the laptop had a red throug crodd there - when I clicked on "Ope

  • legal size

    I can't print documents legal legal paper, I added, but when I try to print a legal document, it is cut off.  I don't have an instruction manual only a flyer set. I don't see where I can put to print legal size.  How can I get a manual?