Skip to content

Instantly share code, notes, and snippets.

@oak-tree
Last active January 25, 2016 12:08
Show Gist options
  • Select an option

  • Save oak-tree/e9dda8d03ee7f06b4f79 to your computer and use it in GitHub Desktop.

Select an option

Save oak-tree/e9dda8d03ee7f06b4f79 to your computer and use it in GitHub Desktop.
Test environment for birds.co.il
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
</head>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
}
iframe {
display: block;
background: #000;
border: none;
width: 100%;
height: 100%;
}
</style>
<body>
<iframe style="width:100%;height:100%;" src="http://www.birds.org.il/he/species-page.aspx?speciesId=326" />
</body>
<!-- append css script from bookmark
javascript: (function() {
var styleTag = document.createElement("style");
var rules = "css rules here!"
styleTag.type = 'text/css';
if (styleTag.styleSheet) {
styleTag.styleSheet.cssText = rules;
} else {
styleTag.appendChild(document.createTextNode(rules))
}
document.head.appendChild(styleTag);
return styleTag.sheet;
})();
-->
@yakirn
Copy link

yakirn commented Jan 25, 2016

please replace meta tag with this one <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment