An alternative would be to prevent IE 7 from taking this code branch:
Code:
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
One way to do this would be to add a span to your page(s) inside a conditional:
HTML Code:
<!--[if gte IE 7]>
<span id="ie7span" style="display:none;"></span>
<![endif]-->
Then we could go back to the code from these scripts:
Code:
if (window.XMLHttpRequest&&typeof ie7span=='undefined') // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
Bookmarks