title: How to execute javascript/jquery on history back
body: <p>I have button which simply dong this:</p>
  
  <pre><code>&lt;a href="#" onclick="history.go(-1);return false;" class="button"&gt;Back&lt;/a&gt;
  </code></pre>
  
  <p>How i can execute JavaScript on the destination page Without any history plugins?</p>
  
  <p>Let say i am on page <code>X</code> then i went to page <code>Y</code> with my Back button, after i clicking button Back page <code>X</code> getting displayed, how can i execute any JavaScript in that time? </p>
  
  <p>I want to set some styling witch getting lost after history back and also some text values.</p>