Skip to content
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

Be able to dynamically modify the static html pages to force IE Browser modes #631

Closed
deanapeterson opened this issue Jul 10, 2013 · 7 comments

Comments

@deanapeterson
Copy link

It would be nice to be able to open IE in it's different browser modes.

I was hoping to find a find a command line option to do that, but there is not. In lieu of that is it possible to dynamically set the following header in the static html pages?

<meta http-equiv="X-UA-Compatible" content="IE=[VERSION]">

Is this possible? or desired?

@vojtajina
Copy link
Contributor

Nice idea!

Anybody willing to give it a try ?

@vojtajina
Copy link
Contributor

Or we could set HTTP header.

How about this?
Laucher can pass URL params (it currently does id). It can pass "ie" param (such as ie=edge).
The web server, when serving index.html, will check that and set correct headers.

Then, you can configure multiple custom launchers - starting for instance multiple instances of IE11, each in different compatibility mode.

@WickyNilliams
Copy link
Contributor

Http header would be much preferable to a meta tag. Switching via query string is a great idea. Presumably the default value would be edge?

@vojtajina
Copy link
Contributor

@WickyNilliams yep, do would you like to give it a shot?

@WickyNilliams
Copy link
Contributor

I'm not a node dev but I'm sure I could give it a go. Could you point at me files I should focus on? How generic do you think it should be? Should I be able to specify any HTTP headers to be sent?

@vojtajina
Copy link
Contributor

I think this consist of two things:

@pkozlowski-opensource
Copy link
Member

This was already fixed via b9a2930 and karma-runner/karma-ie-launcher@052cf5c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants