I have this button :
<a onclick="return false;" href='javascript:(function(){s=document.createElement("script");s.type="text/javascript";s.src="http://localhost/demogen/demogen.js";document.body.appendChild(s);})();' class="Button">siteDEMO < /a>
that users can drag to their browser's toolbar, and when they go to their website, by clicking on the button on the toolbar, it loads demogen.js script.
Now I want to add an event that when this script is loaded in a page, and the user clicks on a link, when browser moved to next page, load the script for that page again. any idea ?