<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>iOSで開いた時に、URLスキームが存在すればアプリを開く、存在しなければAppStoreを開く</title> <script type="text/javascript"> $(function(){ var userAgent = navigator.userAgent.toLowerCase(); if (userAgent.search(/iphone|ipad|ipod/) > -1) { // Launch myapp via URL scheme launch_frame.location.href= "myapp://"; setTimeout(function(){ // Open App DL page in iTunes Sto