<!DOCTYPE html> | |
<!-- Copyright 2016 The Chromium Authors. All rights reserved. | |
Use of this source code is governed by a BSD-style license that can be | |
found in the LICENSE file. --> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Test Request Desktop Script Layer</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
if (navigator.appVersion.toLowerCase().indexOf("mobile") > -1) | |
document.write('Mobile'); | |
else | |
document.write('Desktop'); | |
</script> | |
</body> | |
</html> |