Skip to content

Instantly share code, notes, and snippets.

@make-sum
Last active August 29, 2015 13:56
Show Gist options
  • Save make-sum/8995194 to your computer and use it in GitHub Desktop.
Save make-sum/8995194 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<title>Flix</title>
<script src="mobile/js/redirect.js"></script>
<script>redirectMobileTo('mobile/index.html');</script>
</head>
<body>
<h1>Flix Homepage</h1>
<p><a href="mobile/index.html">Mobile</a></p>
</body>
</html>
<!DOCTYPE html>
<html class="no-js">
<script src="js/redirect.js"></script>
<script>eraseCookie('redirect');</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment