title: How can I read json content inside a <script> tag?
body: <p>So when I want to put a Google +1 button on webpages, I would do this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="https://apis.google.com/js/plusone.js"&gt;
    {lang: 'zh-TW'}
  &lt;/script&gt;
  </code></pre>
  
  <p>But I am wondering, there is an object in the script tag, but it is also loading <code>plusone.js</code>! At the end the script can also get the object inside the tag. How does Google do that? Unlike normally I would not put anything inside.  Normally I would do</p>
  
  <pre><code>&lt;script type"text/javascript" src="script.js"&gt;&lt;/script&gt;
  </code></pre>