-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support IE 8 and IE9 #259
Comments
Me neither. Can't get it to work in IE9. Any pointers or tips as to how the latest released has changed and which polyfills are required? I hope so as its an excellent router. Can I just clarify whether you need to change all your hrefs to e.g. href="#mypage' to get page.js to work with browsers that do not support pushState. By setting the history object to history.redirect("", "/my_nested_folder"); and using hashbangs I can get it to work. But this means browser detecting before creating my HTML linking system. |
I tested also the example pages with HTML5-History-API under IE9 also do not work. Did something change? Because the page.js is supposed to support IE8+ ? |
Same issue here. It triggers "*" route handler Edit: I found my issue with IE9. Apparently there is a bug in IE 9 where it removed leading slash from https://github.com/visionmedia/page.js/blob/master/page.js#L580 I've monkey patched pagejs to add leading slash if missing and it seems to be working. |
You probably have already done this, but just to be sure, did you create the .htaccess file (and in case of nginx the correspondent config rule)?
|
@amitava82 Thanks a lot! Went the monkey-patch route on it for a quick fix and saved hours of debugging time there. Fixed navigation issues on IE9 for me for now. |
+1 |
It is no use adding |
I'm going to close, as far as I know these browsers are still supported. Maybe someone fixed it without updating this issue. |
Hey there,
First great routing plugin !
I am using it for a SPA that should work client side in IE8+ but i came across unsolvable problem.
The routing does not seem to work in IE8 and IE9.
In IE8 added a polyfill for add/removeEventListener and the HTML5-History-API it load the first page but the rest of the routes do not trigger page.js at all and it render a blank url does not exist browser page.
In IE9 with HTML5-History-API every time i try to navigate to another route it adds the hash tag (and it is supposed to) but because of that the urls render page not found. The whole SPA is client side. I am serving it with nginx.
Has anyone came across this problem? Any help highly appreciated. Thanks in advance !
Cheerz,
Guby
The text was updated successfully, but these errors were encountered: