Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<template>
<style>
body.weavebg {
  width: auto;
  height: auto;
  min-height: initial;
  min-width: initial;
  opacity: 1;
  }
</style>
<body class="weavebg">
  <button onclick="goFull()">Go fullscreen</button>
  <script>
    function goFull() {
      document.body.webkitRequestFullscreen();
    }
  </script>
</body>
</template>
  
<iframe allowfullscreen seamless sandbox="allow-scripts"></iframe>
<script>
  var template = document.querySelector('template');
console.log(template.innerHTML);
  document.querySelector('iframe').srcdoc = template.innerHTML;
</script>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers