Skip to content

Instantly share code, notes, and snippets.

View JoernBerkefeld's full-sized avatar
😋

Jörn Berkefeld JoernBerkefeld

😋
View GitHub Profile
@JoernBerkefeld
JoernBerkefeld / index.html
Created October 6, 2015 07:44 — forked from davidwkeith/index.html
Link directly to custom protocol handlers for mobile, without worrying if the user has your App installed. Licensed under the WFTPL http://www.wtfpl.net/txt/copying/
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>App Redirection</title>
</head>
<body>
<!-- iframe used for attempting to load a custom protocol -->
<iframe style="display:none" height="0" width="0" id="loader"></iframe>
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>HEAD</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>