=== Browser Rejector === Contributors: celloexpressions Tags: browser, browsers, rejector, rejecter, reject, rejection, browser reject, modern browser, html5, css3, modernizer Requires at least: 3.3.0 Tested up to: 3.4.1 Stable tag: 2.02 Description: Notify site visitors that they are using an outdated web browser, so the website may not display properly. Optionally block access. License: GPLv2 == Description == The browser rejector plugin allows web designers to embrace emerging html5 and css3 technologies by blocking access or requiring an outdated browser acknowledgement to access your site, thus greatly reducing the need for backward compatibility measures. The rejection window overlays your website with a semi-transparent layer, and alternative browsers are dynamically suggested based on the current browser/OS (no Safari on Windows, no IE on Mac). Google Chrome Frame is offered for Internet Explorer users, and can be installed on locked-down systems; rendering pages as chrome does within any version of IE. The browsers are listed with icons and either the most-recent version or the solid html5 version+ (ex. IE9+) is displayed. Browsers to reject are chosen with checkboxes in the admin interface, with general html5/css3 compatibility listed inline. CSS classes (OS, Browser/Version, Rendering Engine/Version) are added to the html element as well, to allow for browser-specific styling. This plugin is also great for anyone who want to help push the web forward by encouraging (or requiring) visitors to update to modern browser technology. Updates are released frequetly to list newer browser versions as they become available. The plugin defaults to rejecting all non-html5-compatible browsers, so it's a quick install if you have limited time. Based on the jreject jquery plugin by Steven Bower. Please feel free to offer any feature suggestions you might have and I WILL consider them for future releases. == Installation == 1. Take the easy route and install through the wordpress plugin adder :) OR 1. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Make sure that your theme has the 1` and `` action hooks, which are used for tasks relating to Internet Explorer (chrome frame is automatically activated, among other things) 1. Choose the browsers to reject and set the rejection window text, OR sit back and relax with the defaults. == Frequently Asked Questions == = What If I only Want to Block IE6? = No problem, just uncheck all of the other browsers in the Browsers to Reject tab. = Old Internet Explorer Disclaimer = IE 6 and 7 are so old/deprecated that they have difficulty running the jreject jquery plugin. As a workaround I have implemented "manual" browser rejection by including the ouput window in IE conditional comments. Please note however that the rejection window is not guaranteed to display in the same way in IE6/7 as it does in every other browser (the semi-transparent overlay, for example, is not always semi-transparent in IE6, depending on the emulator, but it is a neutral gray instead of black just in case). Internet Explorer 5 is not supported, and a rejection window displays, but poorly. = Where's the settings page? = It's under settings: Settings -> Browser Rejector. And on a side note, the tabs on the settings page are showing different parts of the same page, not refreshing the browser, so you can switch between tabs without needing to save (and you are always returned to the rejection window tab when saving). = Can I target OS versions with the CSS classes? = Unfortunately, no. If it were possible, IE would be blocked on Windows XP as IE9 is not available there. If anyone has a suggestion for how to accomplish this, please let me know! I might look into grabbing the Windows NT 6.x, etc. part of the user agent code... = Why isn't Safari offered on Windows? = As of Safari 6, Apple has (apparently) stopped development of Safari for Windows. Safari for Windows was never a serious contender compared with the other browsers anyway. = Opera? And what about Konqueror? = The Opera browser is much less known than Chrome, IE, Firefox, and Safari, but it does have some market share and is a solid modern browser around the IE9/Firefox overall quality level. Konqueror is a Linux broswer and is not included in the plugin options because it is so little-used. Versions 1-3 are rejected by the plugin, however. == Screenshots == 1. Default rejection window view (on Windows 7 in Chrome, so no Safari or Chrome Frame) 2. Admin Screens 3. Admin Screens == Changelog == = 2.02 = * Firefox version displays updated to 15. I know these details are somewhat OCD, but I will try to keep these updated as new browser versions are released. Let me know if I miss a release. Most future updates will be of this type. = 2.01 = * Fixed a long list of bugs regarding rejection window display in Internet Explorer 6 and 7 * After studies with IE5, it has been determined that it will not be supported by this plugin actively. The browser is rejected, but the rejection window display is... weird (not that ANYONE uses IE5 anyway) = 2.00 = * Fixed major bug with rejection in IE 6 and 7. * Automatically includes the code to render the site in chrome frame (when installed in IE), wp_head and wp_footer action hooks are now required * A couple other minor adjustments = 1.00 = * First publically available version of the plugin. * Compatible with Wordpress 3.3.0 through 3.4.0 * Listed browser versions include: Chrome 21, IE9, Firefox 14, Opera 12, and Safari 6 == Upgrade Notice == = 2.02 = * Firefox version updated to 15.