title: Can I write a <script> tag inside a <script> tag
body: <p>This is my code. I'm trying to stop running an external js file when screen width is less than 1025. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var gdsize = 1025;          
  if(window.innerWidth&gt;=gdsize) {
  
      &lt;script&gt;
      window.cookieconsent_options = {"message":"\"Geek Dashboard uses cookies to make sure you get the best experience on our website.\" -","dismiss":"It's OK","learnMore":"More Details Here","link":"http://www.geekdashboard.com/cookies/","theme":"dark-bottom"};
      }
      &lt;/script&gt;
  
  
  &lt;/script&gt;
  
  &lt;script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"&gt;&lt;/script&gt;
  </code></pre>