After an Ajax call, return the html as a string and generate a new page with document.write()
.
But when browsing this page, when using browser back or forward, page urls begin to come with wyciwyg (eg wyciwyg://4/http://localhost/
), Firefox ends up directing to a page stored in wyciwyg ( what you cache is what you get ). The problem is that it is leaving this in the url, using the wyciwyg
protocol and compromising the url.
This is a firefox bug in pages generated with document.write()
.