Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1117)

Unified Diff: chrome_frame/cfinstall/examples/simple.html

Issue 8467005: Publish the source for CFInstall.min.js . (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Line length fixes. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/cfinstall/examples/simple.html
diff --git a/chrome_frame/cfinstall/examples/simple.html b/chrome_frame/cfinstall/examples/simple.html
new file mode 100644
index 0000000000000000000000000000000000000000..812a71745496ee401293eee38ece7d171ac2165b
--- /dev/null
+++ b/chrome_frame/cfinstall/examples/simple.html
@@ -0,0 +1,25 @@
+<!--
+ Copyright 2011 Google Inc. All rights reserved.
+-->
+<html>
+ <head>
+ <meta http-equiv="X-UA-Compatible" content="chrome=1" />
+ <script
+ src='//google.com/tools/dlpage/res/chromeframe/script/CFInstall.min.js'>
+ </script>
+ </head>
+ <body>
+ <b>Chrome Renderer Active?:</b>
+ <span class="labeled" id="ChromeActive"></span><br />
+ <script>
+ var ua = navigator.userAgent.toLowerCase();
+ document.getElementById('ChromeActive').innerHTML =
+ ua.indexOf('chrome/') >= 0 ? "Yes" : "No";
+ </script>
+ <p>
+ <a href="javascript:CFInstall.require()">
+ This site requires Google Chrome Frame. Click here to install it now.
+ </a>
+ </p>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698