<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>New tab</title>
    <meta property="og:title" content="Open Graph protocol">
    <meta property="og:type" content="website">
    <meta property="og:url" content="http://ogp.me/">
    <meta property="og:image" content="http://ogp.me/logo.png">
    <meta property="og:image:type" content="image/png">
    <meta property="og:image:width" content="300">
    <meta property="og:image:height" content="300">
    <meta property="og:image:alt" content="The Open Graph logo">
    <meta property="og:description" content="The Open Graph protocol enables any web page to become a rich object in a social graph.">
  </head>
  <body>
    <div id="app"></div>
    <script>
      function loadScripts (scripts) {
        for (var i = 0; i < scripts.length; i++) {
          let script = document.createElement('script')
          script.src = scripts[i]
          document.body.appendChild(script)
        }
      }
      if (window.env !== 'dev') {
        loadScripts(['wexond://build/newTab.bundle.js'])
      } else {
        loadScripts(['http://localhost:8080/build/newTab.bundle.js', 'http://localhost:8080/webpack-dev-server.js'])
      }
    </script>
  </body>
</html>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>New tab</title>
  </head>
  <body>
    <div id="app"></div>
    <script>
      function loadScripts (scripts) {
        for (var i = 0; i < scripts.length; i++) {
          let script = document.createElement('script')
          script.src = scripts[i]
          document.body.appendChild(script)
        }
      }
      if (window.env !== 'dev') {
        loadScripts(['wexond://build/newTab.bundle.js'])
      } else {
        loadScripts(['http://localhost:8080/build/newTab.bundle.js', 'http://localhost:8080/webpack-dev-server.js'])
      }
    </script>
  </body>
</html>
Remove og data from new tab
Remove og data from new tab
