title: Passing javascript arguments via script src attribute
body: <p>If i have a javascript src like</p>
  
  <pre><code>&lt;script src="http://domain.com/js/script.js"&gt; 
  </code></pre>
  
  <p>Could i add some more values to the end of it </p>
  
  <pre><code>&lt;script src="http://domain.com/js/script.js?state=1"&gt; 
  </code></pre>
  
  <p>And get state inside that javascript ??</p>
  
  <p>This idea came from a situation that i have to get client resolution and save it to a session but i can not take it by php , so i have to get it by javascript, but i dont want to show the script nuded from the source code</p>
  
  <p>I think it is possible because i saw many of sources do have link like this!</p>