Skip to content

Instantly share code, notes, and snippets.

@varemenos
Created April 20, 2012 17:05
Show Gist options
  • Save varemenos/2430314 to your computer and use it in GitHub Desktop.
Save varemenos/2430314 to your computer and use it in GitHub Desktop.
Bookmarklet - Responsive Screen Test
javascript:void((function(){var%20d=document;d.write('<!DOCTYPE%20html><html><head><meta%20charset="UTF-8"><title>'+d.title+'%20-%20Responsive%20test</title><link%20rel="stylesheet"%20href="http://responsive.victorcoulon.fr/assets/css/app.css"><script%20src="http://responsive.victorcoulon.fr/assets/js/app.min.js"></script></head><body><header><div%20class="close"><a%20href="#">%C3%97</a></div><div%20id="size"></div><div%20id="devices"><a%20href="#"%20class="tablet-portrait"><span>Tablet%20Portrait</span></a><a%20href="#"%20class="tablet-landscape"><span>Tablet%20Landscape</span></a><a%20href="#"%20class="smartphone-landscape"><span>iPhone%20Landscape</span></a><a%20href="#"%20class="smartphone-portrait"><span>iPhone%20Portrait</span></a><a%20href="#"%20class="auto%20active"><span>Auto</span></a></div></header><section><iframe%20id="wrapper"%20src="'+d.URL+'"%20onLoad="resbook.changeUrl(this.contentWindow.location,this.contentDocument.title);"></iframe></section></body></html>')})());
<!-- http://responsive.victorcoulon.fr/ -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment