Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (54 sloc) 1.888 kb
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Responsive?</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8">
<link rel="search" title="Haz Responsiv.es?" href="/opensearch" type="application/opensearchdescription+xml" charset="utf-8">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body id="iframe-test" onload="setTimeout(function(){ document.body.classList.remove('loading') }, 250);">
<script type="text/javascript" charset="utf-8">
document.body.classList.add('loading');
</script>
<header>
<ul>
<li>320px</li>
<li>480px</li>
<li>728px</li>
<li>1024px</li>
</ul>
<form>
<input type="text" placeholder="URL" name="site" value="" size="50">
<input type="submit" value="&rarr;">
</form>
<span contentEditable="true"></span>
</header>
<section>
<div id="iframe-holder">
<iframe src="about:blank">Sorry</iframe>
<div id="load-indicator">
<div class="throbber"><div></div></div>
<p>Loading</p>
</div>
</div>
</section>
<footer>
<p>Made by <a href="http://twitter.com/beaucollins">@beaucollins</a>. </p>
</footer>
<script type="text/javascript" charset="utf-8">
!function(p){
var a = document.createElement('a'),
l = window.location.protocol + "//" + window.location.hostname;
if (window.location.port !== "") l += ":" + window.location.port;
a.textContent = "Bookmarklet: haz.responsiv.es?";
a.href = "javascript:window.location='" + l + "/?'+encodeURIComponent(window.location)";
p.appendChild(a);
a.addEventListener('click', function(e){
e.preventDefault();
});
}(document.querySelector('footer p'));
</script>
<script type="text/javascript" charset="utf-8" src="app.js"></script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.