TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rack::ChromeFrame, easy Google Chrome Frame integration for Ruby apps

36 点作者 luigi超过 15 年前

4 条评论

simonw超过 15 年前
This should check the Content-Type header and only modify text/html - otherwise it might mangle outgoing JavaScript / XML / etc files.
评论 #839657 未加载
judofyr超过 15 年前
Shouldn't this <i>first</i> check if Chrome Frame is actually used (by using the User-Agent header) before it injects the code? And why not just place the four lines straight into your layout?
评论 #839404 未加载
tamersalama超过 15 年前
nice - but looks like it doesn't take into consideration the user agent. <a href="http://github.com/sunlightlabs/rack-chromeframe/blob/master/chrome_frame.rb" rel="nofollow">http://github.com/sunlightlabs/rack-chromeframe/blob/master/...</a>
评论 #839433 未加载
petercooper超过 15 年前
Didn't use the plugin but used the code snippets on a site just to test it out and.. I think Google need to slicken it up a bit first. The installation overlay blocks out most of the site on IE6 and doesn't seem to be closable. I'm guessing this is really meant for sites that <i>demand</i> it be installed rather than an optional thing - but if that's true, why not just redirect?
评论 #839682 未加载