I've run into a bug in IE8 (emulating IE7) that is causing my iFrame push-state hack to redirect to the URL in the iFrame and I'm having a heck-of-a-time trying to debug in IE. If there a wya to disable Firefox's recognition of push-state so I can replicate the situation in Firefox (or even Chrome) but still have the use of the console window for more effective debugging?
Another option is if anyone has seen this where the iFrame push-state hack will work correctly and then redirect to the iFrame's url (loosing the forward capability which is what leads me to believe it's redirecting)
Another note: there are no window.location = or document.location lines that would obviously cause the redirect, that was the 2nd thing I looked at once I saw开发者_运维问答 the forward button was disabled.
Yes, you can disable pushState in Firefox, the setting is called browser.history.allowPushState
- Open »about:config« page in Firefox
- Search for »pushstate«
- doubleclick the
browser.history.allowPushState
setting
精彩评论