title: jQuery JavaScript is there a method of listening to cookies changing
body: <p>Yea, not really sure what kind of title to give this. But I had a random thought just now, and I don't even know if its possible, I'd guess not but Hopefully someone can definitively tell me yes/no.</p>
  
  <p>The overall question comes from the concept of listening to events in the DOM, which got me to thinking is it possible with a cookie. Knowing that I have my cookie stored as a variable generally speaking when the page loads. I can compare it to something on the event it changes. What I have is 2 cookies that shouldnt change ever unless they are being removed by the script. So I want to listen to them, see if they change like lets say a user goes into there browser and changes the value somehow. If that happens I'd like to do something based on that. </p>
  
  <p>I know I can't do anything about them physically changing anything through something like the browser of firebug or other console. But, the hope is to know</p>
  
  <blockquote>
    <p>var myCookie = the cookie;</p>
  </blockquote>
  
  <p>when the page loads, so if it is possible to monitor a change I could use myCookie to compare it to make sure the variable at page load is the same as the one attempting to be used now.</p>
  
  <p>So is that even remotely possible? is there a method of listening to a cookie change like there is for most DOM elements or is it a pipe dream and a security issue from a browser level that can't be monitored?</p>