promisefeni / reallysimplehistory

Automatically exported from code.google.com/p/reallysimplehistory
Other
0 stars 0 forks source link

Dynamically loaded javascript destroys history in Internet explorer #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. After initialization of RSH, add some history to the page.
2. Sometime during the lifetime of the page, dynamically load some 
javascript.
We have code like :
    var head = document.getElementsByTagName("head")[0];
    var script = document.createElement('script');
    script.src = 'samp.js';
    head.appendChild(script);

3. Navigate to a normal (non-ajax) external page
4. Click browser back button to go back to the first page. 

What is the expected output? What do you see instead?

All history on the first page (added through dhtmlHistory.add is lost).

What version of the product are you using? On what operating system?

RSH0.6FINAL

Please provide any additional information below.

We found similar issues when using the JSLoader framework. We feel this is 
also caused by the JSLoader framework dynamically loading javascript.

Original issue reported on code.google.com by venu.tha...@gmail.com on 9 Sep 2009 at 8:09