Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.2 KB
<!DOCTYPE html>
<html lang="en">
<title>Viewporter enabled</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- This exact meta viewport is required for Viewporter for work properly -->
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0" />
<link rel="stylesheet" href="common/style.css" type="text/css" media="screen">
<!-- important files (non-optional) -->
<script src="../src/viewporter.js"></script>
<!-- the following two are optional, and just for this demo -->
<script src=""></script>
<script src="common/debug.js"></script>
<div id="viewporter"><!-- This wrapper element is also required -->
<div id="checker-bl">
<p><strong>window width:</strong> <span id="viewporter-debug-width"></span></p>
<p><strong>window height:</strong> <span id="viewporter-debug-height"></span></p>
<div id="checker-tr">
<p><strong>user agent:</strong> <span id="viewporter-debug-useragent"></span></p>
Jump to Line
Something went wrong with that request. Please try again.