Hooked on hotukdeals|Join HUKD!

iOS Safari Errors

JosephDuffyJosephDuffy

Hi,
I know this a very small thing, but it really bugs me.
When the website is viewed on an iOS device, and error and a tip are produced. This is due to the viewport meta tag "width=device-width; initial-scale= 1.0; user-scalable=no" being incorrect syntax.
Rather than it being "width=device-width; initial-scale= 1.0; user-scalable=no", it should be "width=device-width, initial-scale= 1.0, user-scalable=no" (note the comma, and not semi-colon).
If there's a reason behind this, please say so, as from a developer stand point, I'd like to know if what I'm doing is incorrect.
I know this is minor, but this bugs the hell out of me :)

All Comments (7)

Jump to unread Post a Comment
    fanpages
    It is probably just a typographical error, JosephDuffy.

    What you are doing is correct, according to the Safari Web Content Guide:

    [ http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html#//apple_ref/doc/uid/TP40006509-SW1 ]

    As a temporary measure, do you have (or do you know of) any add-ons (plug-ins or extensions) in iOS Safari that will allow you to change the syntax of the Meta Tag definition "on the fly"?
    JosephDuffy
    I did use similar documents (also from Apple) when using this myself, so I'm happy to know that what I'm doing is correct.
    I do not know of extensions that will provide this functionality, but if it did exist, it would only be for jailbroken devices.
    I do have a jailbroken iDevice, but I couldn't find anything.
    fanpages
    JosephDuffy
    I did use similar documents (also from Apple) when using this myself, so I'm happy to know that what I'm doing is correct.
    I do not know of extensions that will provide this functionality, but if it did exist, it would only be for jailbroken devices.
    I do have a jailbroken iDevice, but I couldn't find anything.


    OK. I don't have any iOS devices, so it sounds like we will have to wait for HeroDeveloper to respond from tomorrow onwards.
    JosephDuffy
    dga
    GreaseMonkey for iOS is what you need I think, unfortunately the app maybe dead now.

    To be honest, it doesn't look like it was ever really alive.
    This is something I would love for iOS, but I guess we would a developer that is knowledgeable about the internal APIs, or a custom browser.
    HeroDeveloper
    Good catch Joseph. It was indeed a typo on our part. I've fixed it. Thank you for your reports. :) Rest Easy, Citizens.
    JosephDuffy
    HeroDeveloper
    Good catch Joseph. It was indeed a typo on our part. I've fixed it. Thank you for your reports. :) Rest Easy, Citizens.

    Thanks, Hero, it's nice to see an active developer around!
    I can confirm I no longer receive any errors :)
    fanpages
    JosephDuffy
    Thanks, Hero, it's nice to see an active developer around!
    I can confirm I no longer receive any errors :)


    Inactive developers are more like an oblong or pear shape.

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

I Approve
Your Comments On This Post
Comment Preview
Close

PRIVATE MESSAGE

Close
Sorry, you can’t currently send PMs. Once you’re a more active member of the forum, the PM service will be unlocked for you.
Welcome to HUKD!
Close
Join the Community