Start preparation for forcing Chrome Frame

This commit is contained in:
Mikaela Suomalainen 2013-01-24 07:23:45 +02:00
parent ff2bd66419
commit 967f9b6b55
5 changed files with 54 additions and 19 deletions

View File

@ -5,3 +5,11 @@ AddType text/html shtml
AddHandler server-parsed shtml
AddDefaultCharset utf-8
DirectoryIndex index.html sitemap.html
# Force Google Chrome Frame to be used if it's installed.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
BrowserMatch chromeframe gcf
Header append X-UA-Compatible "chrome=1" env=gcf
</IfModule>
</IfModule>

24
gcf.html Normal file
View File

@ -0,0 +1,24 @@
<html>
<body>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<style>
/*
CSS rules to use for styling the overlay:
.chromeFrameOverlayContent
.chromeFrameOverlayContent iframe
.chromeFrameOverlayCloseBar
.chromeFrameOverlayUnderlay
*/
</style>
<script>
// You may want to place these lines inside an onload handler
CFInstall.check({
mode: "overlay",
url: "https://www.google.com/intl/en/chrome/business/browser/chromeframe.html"
})
</script>
</body>
</html>

1
gcf.txt Symbolic link
View File

@ -0,0 +1 @@
gcf.html

20
head.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- <meta http-equiv="refresh" content="60" /> -->
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Insert description here" />
<meta name="keywords" content="Insert,keywords,here" />
<meta name="author" content="Mika Suomalainen" />
<link rel="canonical" href="http://mkaysi.github.com/">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="tyyli.css" />
</head>
<body>
<hr/>
[Sitemap](sitemap/sitemap.html)
<hr/>
<!-- vim : set ft=html -->

View File

@ -1,19 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- <meta http-equiv="refresh" content="60" /> -->
<meta name="description" content="Insert description here" />
<meta name="keywords" content="Insert,keywords,here" />
<meta name="author" content="Mika Suomalainen" />
<link rel="canonical" href="http://mkaysi.github.com/">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="tyyli.css" />
</head>
<body>
<hr/>
[Sitemap](sitemap/sitemap.html)
<hr/>
<!-- vim : set ft=html -->

1
head.txt Symbolic link
View File

@ -0,0 +1 @@
head.html