Plack::Middleware::UseChromeFrame - enable Google Chrome Frame for users who have it
version 1.002
# in app.psgi use Plack::Builder; builder { enable 'UseChromeFrame'; $app; };
This is a lightweight middleware that adds the X-UA-Compatible: chrome=1 header required by Google Chrome Frame to take over page rendering, for requests made from a browser with Chrome Frame installed.
X-UA-Compatible: chrome=1
Google Chrome Frame http://code.google.com/chrome/chromeframe/
Plack::Middleware::ChromeFrame
This is a much more aggressive middleware. Visitors running Internet Explorer without Chrome Frame installed are prevented from seeing the site at all: they only receive a page instructing them on how to install Chrome Frame.
Aristotle Pagaltzis <pagaltzis@gmx.de>
This software is copyright (c) 2011 by Aristotle Pagaltzis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Plack::Middleware::UseChromeFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::UseChromeFrame
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::UseChromeFrame
For more information on module installation, please visit the detailed CPAN module installation guide.