title: Not allowing javascript function call from the address bar
body: <p>I was working with a online game  website. There are some event which call a javascript function and the function have some action with callback. </p>
  
  <p>something like this,</p>
  
  <pre><code> &lt;input type="button" onclick="changeSomething"/&gt;
  
  
   function changeSomething() {
           /// some call back, which changes something 
   }
  </code></pre>
  
  <p>now anybody who knows this can call this changeSomething from the address bar of the browser, which I do not want. </p>
  
  <p>Very unlikely that somebody will do it, but I want to allow it. </p>
  
  <p>Is there anyway to prevent situation like this ?</p>
  
  <p>Thanks.</p>
  
  <p>P.S. I tried, but still not sure whether I explained it well enought. Please let me know if you are not getting something.</p>