Skip to content

Instantly share code, notes, and snippets.

@asathoor
Created January 11, 2019 08:46
Show Gist options
  • Save asathoor/7f13b99aaf7eb8abcd2ce7517f9490d2 to your computer and use it in GitHub Desktop.
Save asathoor/7f13b99aaf7eb8abcd2ce7517f9490d2 to your computer and use it in GitHub Desktop.
How to embed a Scratch production
<!DOCTYPE html>
<!--[if lt IE 9 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Prevent mobile Safari from making phone numbers -->
<meta name="format-detection" content="telephone=no">
<!-- Favicon & CSS normalize -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="/css/lib/normalize.min.css" />
<!-- Polyfills -->
<script src="/js/polyfill.min.js"></script>
<!-- Analytics (GA) -->
<script>
/* eslint-disable */
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-30688952-1', {
'sampleRate': 10
});
ga('send', 'pageview');
window.GA_ID = 'UA-30688952-1';
/* eslint-enable */
</script>
</head>
<body>
<div id="app"></div>
<!-- Vendor & Initialize (Session & Localization)-->
<script src="/js/common.bundle.js"></script>
<!-- Scripts -->
<script src="/js/projects.intl.js"></script>
<script src="/js/projects.bundle.js"></script>
<!-- Translate title element -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment