title: Can I add attributes to 'window' object in javascript?
body: <p>Can I add any random attribute to 'window' object in javascript? Some thing like:</p>
  
  <pre><code>window.my_own_attr = "my_value"
  </code></pre>
  
  <p>Does it have any side effects with any libraries? And is it cross-browser compatible?</p>