Skip to content

Commit

Permalink
Remove Chrome Frame meta tag and HTTP header hints
Browse files Browse the repository at this point in the history
See also `Retiring Chrome Frame - developer FAQ`:
https://developers.google.com/chrome/chrome-frame/

Close #1396.
  • Loading branch information
FlashJunior authored and alrra committed Jun 26, 2013
1 parent 9ec5465 commit 8fc2650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ ErrorDocument 404 /404.html

# Force IE to render pages in the highest available mode in the various
# cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf.
# Use, if installed, Google Chrome Frame.

<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge,chrome=1"
Header set X-UA-Compatible "IE=edge"
# `mod_headers` can't match based on the content-type, however, we only
# want to send this header for HTML pages and not for the other resources
<FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
Expand Down

4 comments on commit 8fc2650

@pablopaul
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit should also update https://github.com/h5bp/server-configs/blob/master/apache/.htaccess
@alrra can you push against this repro?

@drublic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alrra
Copy link
Member

@alrra alrra commented on 8fc2650 Jul 22, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit should also update https://github.com/h5bp/server-configs/blob/master/apache/.htaccess
@alrra can you push against this repro?

@pablopaul sorry about that, I'll try to fix it this week, but some other things need to be sorted out in that repository first, and unfortunately, I didn't have the time to do so :(

@alrra
Copy link
Member

@alrra alrra commented on 8fc2650 Jul 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.