Debug iPad Safari with a PC

Update October 2019 This solution doesn’t work for IOS 12+ (resource 1, resource 2). Updated and tested on 24/6/2017 Using Chrome on Windows 8 and more recent: Download and install Node Download and install ITunes and connect it to your Device. (A pop-up should shows to your iPad to get authorization) . Be sure to … Read more

Debug iOS 6+7 Mobile Safari using the Chrome DevTools

The iOS WebKit Debug Proxy project enables this. To get started, install with homebrew: brew install ios-webkit-debug-proxy Run the simulator (if running simulator): SIM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer “$SIM_DIR/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator” \ -SimulateApplication \ $SIM_DIR/SDKs/iPhoneSimulator6.1.sdk/Applications/MobileSafari.app/MobileSafari Run the proxy: ios_webkit_debug_proxy Check for errors Look on the device for an error message: Could not connect to lockdownd. Exiting.: No such file … Read more

What version of mobile safari comes with each version of iOS?

Since this is already the top hit on Google, we should start a list here. I’ll make this answer a community wiki. By the way, I’m pulling these from the device’s user agent string. Browser version is iOS version dependent, NOT device dependent. But when a phone doesn’t support higher iOS versions it is listed: … Read more

remove grey background on link clicked in ios safari / chrome / firefox

Webkit has a specific style property for that: -webkit-tap-highlight-color. Copied from: http://davidwalsh.name/mobile-highlight-color— /* light blue at 80% opacity */ html { -webkit-tap-highlight-color: rgba(201, 224, 253, 0.8); } /* change it for a div that has a similar background-color to the light blue tap color */ .blueDiv { -webkit-tap-highlight-color: rgba(251, 185, 250, 0.9); } If you … Read more

Determine if user navigated from mobile Safari

See https://developer.chrome.com/multidevice/user-agent#chrome_for_ios_user_agent – the user agent strings for Safari on iOS and for Chrome on iOS are inconveniently similar: Chrome Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; en) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60 Mobile/9B206 Safari/7534.48.3 Safari Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 … Read more

How to debug web sites on mobile devices?

This is the correct answer, not sure why Blaine only left it as a comment! As of iOS 6 Remote Debugging is available: https://stackoverflow.com/a/12762449/72428 On OS X you can use the Safari web inspector on the iOS Simulator AND iOS 6 devices. First enable the Developer menu in Safari on your Desktop. Next, enable remote … Read more

Fix font size issue on Mobile Safari (iPhone) where text is rendered inconsistently and some fonts are larger than others?

Mobile Safari (like Chrome for Android, Mobile Firefox and IE Mobile) increases the font size of wide blocks (at all times), such that if you double-tap to zoom in on that block (which fits the block to the screen width), the text will be legible. If you set -webkit-text-size-adjust: 100% (or none), it won’t be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)